Expose gpgme_data_set_file_name
Opened this issue · 3 comments
keitaroemotion commented
I know previously there is similar discussion, but for some business reasons I cannot use gpg2.x.
My point is, in terminal-based gpg, if we set the following option in encryption,
--set-file-name [String]
we can encrypt the file which when decrypted shows appropriate file name.
So my question is, how to pass this --set-file-name
argument to Ctx class when encrypting something?
ueno commented
This seems more like a question for GPGME (C library) itself. Could you try to reach out the developers?
iwat commented
GPGME
already provides gpgme_data_set_file_name function, but it's not accessible by Ruby-GPGME library. I think it's a Ruby question.
keitaroemotion commented
🤔 Hmm.... Thanks, Chaiwat 😉 👍