gpgme: cache passphrase for symmetric encryption

30 views Asked by At

I use gpgme library to encrypt several files symmetrically. They are encrypted with the same key (because of the same passphrase).

Is it possible to cache passphrase for a chain of encryption and decryption operations? I.e. I don't want to derive the same key again and again, if I'm able to perform multiple operations on it consequently.

I haven't found any of such possibility, but I suppose, that there could be a tricky way to do it.

0

There are 0 answers