Page MenuHome GnuPG

Feature request: --decrypt-only
Closed, ResolvedPublic

Description

Please add decrypt-only mode for gpg that decrypts message but leaves original
signature intact. The output would be like --clearsign or --sign modes generate.

Event Timeline

qpqmq raised the priority of this task from Wishlist to Normal.Sep 24 2010, 1:40 PM

2.1 has the option --unwrap to just this.

In T1287#94619, @werner wrote:

2.1 has the option --unwrap to just this.

As stated in the recently added documentation, this option outputs an OpenPGP data structure.
Is there any way to obtain a cleartext signature (as produced by --clearsign) or a content and detached signature pair, either through additional CLI options and the GPGPME interface or through some conversion?

This would be quite useful on its own, and in particular to allow email clients to implement decryption and rewriting into MIME multipart/signed (https://tools.ietf.org/html/rfc3156#section-6.2), useful for forwarding.