Open WordsmithCreativity opened 4 months ago
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'm also experiencing this issue, any chance this could be implemented? Or do you otherwise welcome a PR to introduce this?
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:
It SHOULD set the filename to the empty string (encoded as a single zero octet) and the timestamp to zero (encoded as four zero octets).
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?