camel_cipher_context_encrypt_sync () doesn't seem to sign PGP message
Hello!
When reading the documentation, camel_cipher_context_encrypt_sync ()
seems to imply that by adding the userid
, the function additionally signs the message:
https://developer-old.gnome.org/camel/unstable/CamelCipherContext.html#camel-cipher-context-encrypt-sync
However, as based on this commit, it does not seem to be the case: kop3161/evolution-data-server@fc31b8c7
Additionally, I think camel_cipher_context_encrypt_sync ()
would need CamelCipherHash hash
as an argument to sign as well.
It also looks like in Evolution, signing is an extra step as well: https://gitlab.gnome.org/GNOME/evolution/-/blob/master/src/composer/e-msg-composer.c#L949
Edited by Chris Talbot