Perform only asymmetric encryption/decryption
erik.nellessen at informatik.hu-berlin.de
Sun Apr 10 12:56:09 CEST 2016
No, this is not about encrypting large amounts of data with asymmetric encryption. ;) It is about encrypting and decrypting small strings, which are still way smaller than the public/private key. So I guess this could be possible using the interfaces for encrypting/decrypting a data encryption key. What is the best way in OpenPGP to encrypt/decrypt small strings using asymmetric encryption/decryption directly?
> On 08/04/16 16:28, Erik Nellessen wrote:
>> When I encrypt data using GnuPG, GnuPG uses hybrid encryption. This
>> really is a good idea for most use cases. But in my (I admit, rather
>> special) use case, only using asymmetric encryption/decryption is
>> what I need. Is it possible to use asymmetric encryption only? The
>> interface I would wish to have takes plain data and provides an RSA
>> encrypted cipher text (and vice versa for decryption).
> A bit more info about your use case might be helpful (and intriguing!).
> If you're just trying to create a new asym-encrypted copy of an existing
> GPG session key (or something similar) then there might be a way. If
> you're thinking of encrypting large amounts of data directly with
> asym-encryption, then I'll question your sanity. ;-)
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users