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?
Kind regards, Erik Andrew Gallagher: > 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. ;-) > > A > > > > _______________________________________________ > Gnupg-users mailing list > [email protected] > http://lists.gnupg.org/mailman/listinfo/gnupg-users >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
