Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make armor decode more robust to empty header values #174

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

lubux
Copy link
Contributor

@lubux lubux commented Jun 16, 2023

This pull request adapts armor.Decode to allow empty values in headers.
Messages of the following form can now be parsed:

-----BEGIN PGP SIGNATURE-----
Version: 
...
-----END PGP SIGNATURE-----`

This commit adapts armor decode to allow empty values in
headers.
@twiss twiss merged commit 3fbb1f1 into ProtonMail:main Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants