Home GnuPG
Diffusion GnuPG ec409e62aea6

gpg: Add support for unwrapping the outer level of encryption.
ec409e62aea6Unpublished

Unpublished Commit ยท Learn More

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

Description

gpg: Add support for unwrapping the outer level of encryption.

* g10/decrypt-data.c (decrypt_data): If OPT.UNWRAP_ENCRYPTION is set,
copy the data to the output file instead of continuing to process it.
* g10/gpg.c (enum cmd_and_opt_values): Add new value oUnwrap.
(opts): Handle oUnwrap.
(main): Likewise.
* g10/options.h (opt): Add field unwrap_encryption.
* g10/plaintext.c (handle_plaintext): Break the output file selection
functionality into ...
(get_output_file): ... this new function.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T1060
  • Debian-bug-id: #282061

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 5 2015, 12:20 PM
Parents
rGfd4b9e232805: common: Add a function for copying data from one iobuf to another.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rGec409e62aea6: gpg: Add support for unwrapping the outer level of encryption. (authored by Neal H. Walfield <neal@g10code.com>).Nov 5 2015, 2:16 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:08 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:31 PM