-
Notifications
You must be signed in to change notification settings - Fork 118
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
Cannot specify filename when encrypting + signing #289
Comments
I'm also experiencing this issue, any chance this could be implemented? Or do you otherwise welcome a PR to introduce this? |
+1 I'm also interested in this feature |
I would appreciate some feedback on this if you have a minute? |
Hi 👋 The name field in the literal data packet is not included in signatures and ,thus, is malleable. GopenPGP follows RFC 9580's recommendation:
|
Hi @lubux, thank you for your response. Despite the inherent problems with this field, it would be useful to be able to populate this field to maintain compatibility with clients accustomed to the output of Per RFC4880:
|
In both v2 and v3 of the library there is no possibility to specify a filename when both signing and encrypting a file.
This would mimic the behavior of gpg as such:
I've altered the https://github.com/ProtonMail/gopenpgp/blob/main/helper/sign_detached.go#L14 function slightly to allow my use-case as such:
Can this be made possible via the exposed functions?
The text was updated successfully, but these errors were encountered: