bentonstark / starksoft-aspen

.net / mono security and cryptography library that provides client support for ftps, gnupg, smartcard, and socks / http proxies
108 stars 49 forks source link

Update Gpg.cs #35

Closed rdbcrec closed 6 years ago

rdbcrec commented 6 years ago

In newer version of Gpg, it continuously prompts for passphrase and to avoid that we need to append this argument "--pinentry-mode loopback"

bentonstark commented 6 years ago

Can you determine which version of GPG this feature was added? If so I can then enable the option only if the version supports it.

pwiik commented 6 years ago

Hi, I ran into the same issue. This post mentions Version 2.1.0 and higher: https://stackoverflow.com/a/38258192

bentonstark commented 6 years ago

Thanks for that. I will get the change in hopefully this weekend.

rdbcrec commented 6 years ago

Hi @bentonstark , Actually I am waiting for this fix, I need to use this in my project. I have the fix and its working fine but I want to use this as a nuget package. Please let me know when you will get the change done, it will help me to plan accordingly. Thanks.

bentonstark commented 6 years ago

@rdbcrec Donations are always accepted:) Otherwise it will have to come when I have time to get it in.

rdbcrec commented 6 years ago

I get it, I will pass this message to my management. Thanks

bentonstark commented 6 years ago

Changes added to master branch.