using aes256

Damien Goutte-Gattat dgouttegattat at incenp.org
Tue Oct 29 20:41:52 CET 2024


On Tuesday, 29 October 2024 18:07:46 GMT Robert J. Hansen via Gnupg-users wrote:
> Unfortunately, I don't remember offhand whether there's a command-line 
> flag to force a particular AES256 key.

There is --override-session-key, but IIRC it can only be used to *decrypt*, not *encrypt*.

I agree with the assertion that this not a GnuPG use case. That --override-session-key option (which incidentally is listed in the man page in the “stuff you normally don’t want to do” section :D ) is only intended to allow someone to decrypt a message (e.g. if legally obliged to do so) without handing over their private secret key, it’s not for routine use.

- Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241029/f373e169/attachment.sig>


More information about the Gnupg-users mailing list