-
Notifications
You must be signed in to change notification settings - Fork 6
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
Singed message is not enforcing signature #56
Comments
With the new release a pgp formatter checker is added using the PGPy module which checks the OpenPGP message specification in accordance with RFC 4880. |
It is not clear to us (@mxsasha, @bwbroersma and me) what the exact difference is between |
We made 2 pgp error distinctions. These were made because the PGPy library also seems to make these distinction. |
Thanks for the explanation! Still some additional questions:
|
If it is regarding a pgp signed message it will enforce the addition of a valid pgp signature. If it is not present it will throw a |
the |
Singed message is not enforcing signature, e.g.:
This currently parses as valid with zero errors.
The issues for signed messages I can see:
1*
, so should be one or more)-----BEGIN PGP SIGNATURE-----
) not enforced-----END PGP SIGNATURE-----
) not explicitly enforced (only needed when armor-header is present, when armor-tail is missing, the error will beno_line_separators
, because the last line is{'type': 'pgp_envelope'}
, even when empty)The current code quite literally is this xkcd PGP 🙃:
The text was updated successfully, but these errors were encountered: