Home GnuPG
Diffusion GnuPG 43bfaf2c5417

gpg: New option --override-session-key-fd.
43bfaf2c5417Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: New option --override-session-key-fd.

* g10/gpg.c (oOverrideSessionKeyFD): New.
(opts): Add option --override-session-key-fd.
(main): Handle that option.
(read_sessionkey_from_fd): New.

The override-session-key feature was designed to mitigate the effect
of the British RIP act by allowing to keep the private key private and
hand out only a session key. For that use case the leaking of the
session key would not be a problem. However there are other use
cases, for example fast re-decryption after an initial decryption,
which would benefit from concealing the session key from other users.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 16 2016, 9:02 AM
Parents
rG500e594c2da5: gpgv: New option --enable-special-filenames.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG43bfaf2c5417: gpg: New option --override-session-key-fd. (authored by Werner Koch <wk@gnupg.org>).Nov 16 2016, 9:03 AM