diff options
author | Werner Koch <[email protected]> | 2013-12-11 09:20:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-12-11 09:20:15 +0000 |
commit | 101a54add351ff62793cbfbf3877787c4791f833 (patch) | |
tree | 7bf96a96fc6c3cf47ec70f5e78e0ccb97b75d257 /doc | |
parent | gpg: Change OID of Ed25519 and add Brainpool oids. (diff) | |
download | gnupg-101a54add351ff62793cbfbf3877787c4791f833.tar.gz gnupg-101a54add351ff62793cbfbf3877787c4791f833.zip |
gpg: Change --show-session-key to print the session key earlier.
* g10/cpr.c (write_status_strings): New.
(write_status_text): Replace code by a call to write_status_strings.
* g10/mainproc.c (proc_encrypted): Remove show_session_key code.
* g10/decrypt-data.c (decrypt_data): Add new show_session_key code.
--
This feature can be used to return the session key for just a part of
a file. For example to downloading just the first 32k of a huge file,
decrypting that incomplete part and while ignoring all the errors
break out the session key. The session key may then be used on the
server to decrypt the entire file without the need to have the private
key on the server.
GnuPG-bug-id: 1389
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DETAILS | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/DETAILS b/doc/DETAILS index a52f51cec..3f9e747d5 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -459,9 +459,10 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB: *** SESSION_KEY <algo>:<hexdigits> The session key used to decrypt the message. This message will - only be emitted when the special option --show-session-key is - used. The format is suitable to be passed to the option - --override-session-key + only be emitted if the option --show-session-key is used. The + format is suitable to be passed as value for the option + --override-session-key. It is not an indication that the + decryption will or has succeeded. *** BEGIN_ENCRYPTION <mdc_method> <sym_algo> Mark the start of the actual encryption process. |