Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose gpgme_data_set_file_name #99

Open
keitaroemotion opened this issue Sep 29, 2017 · 3 comments
Open

Expose gpgme_data_set_file_name #99

keitaroemotion opened this issue Sep 29, 2017 · 3 comments

Comments

@keitaroemotion
Copy link

keitaroemotion commented Sep 29, 2017

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
Copy link
Owner

ueno commented Oct 2, 2017

This seems more like a question for GPGME (C library) itself. Could you try to reach out the developers?

@iwat
Copy link
Contributor

iwat commented Oct 3, 2017

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.

@ueno ueno changed the title Weird filename on decryption: name="-&20" Expose gpgme_data_set_file_name Oct 3, 2017
@keitaroemotion
Copy link
Author

🤔 Hmm.... Thanks, Chaiwat 😉 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants