Re: SSH and gpg2: pinentry errors hidden from view, agent refused operation

2021-12-30 Thread Lars Noodén via Gnupg-users
On 12/30/21 17:44, Ingo Klöcker wrote: On Donnerstag, 30. Dezember 2021 15:38:47 CET Lars Noodén via Gnupg-users wrote: What else is needed to get pinentry invoked so that the SSH client can connect using the GnuPG RSA key? At this point the public key is visible in the SSH agent: $ ssh-add

Re: SSH and gpg2: pinentry errors hidden from view, agent refused operation

2021-12-30 Thread Ingo Klöcker
On Donnerstag, 30. Dezember 2021 15:38:47 CET Lars Noodén via Gnupg-users wrote: > What else is needed to get pinentry invoked so that the SSH client can > connect using the GnuPG RSA key? > > At this point the public key is visible in the SSH agent: > > $ ssh-add -l > 3072 SHA256:j0V4cVzC..

SSH and gpg2: pinentry errors hidden from view, agent refused operation

2021-12-30 Thread Lars Noodén via Gnupg-users
hange, or read to get past the barrier of pinentry? /Lars [1] $ apt-cache policy gnupg2 | head -n 2 gnupg2: Installed: 2.2.19-3ubuntu2.1 $ gpg2 --version | head -n 2 gpg (GnuPG) 2.2.19 libgcrypt 1.8.5 $ lsb_release -rd Descriptio

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2020-06-22 Thread Andrew Mallin via Gnupg-users
Sent from my iPhone ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: can not se and run gpg2 command

2019-10-09 Thread Werner Koch via Gnupg-users
On Wed, 9 Oct 2019 15:42, Fta said: > I have installed Gnup in me windows 7, but I can not se and run the > command gpg2 On some systems (mainly older Linux distributions), the current gpg is still installed under the name gpg2. On Windows we are using the name gpg.exe now for many

can not se and run gpg2 command

2019-10-09 Thread Fta
 Hi I have installed Gnup in me windows 7, but I can not se and run the command gpg2 C:\Users\Danuna\AppData\Roaming\gnupg>gpg.exe --version gpg (GnuPG) 2.2.17 libgcrypt 1.8.4 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/li

Re: Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-27 Thread Kynn Jones via Gnupg-users
On Sat, Jul 27, 2019 at 10:50 AM Aleksandar Lazic wrote: > Have you take a look into libsodium based tools? > https://download.libsodium.org/doc/libsodium_users > No I hadn't. Thank you, it looks amazing. (Still need to wrap my head around it.) kj

Re: Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-27 Thread Aleksandar Lazic via Gnupg-users
CRYPTION will be done in several > batches, and will take place over many months (due to CPU and > bandwidth limitations). > > The ideal solution would produce ENCRYPTED files that can be > decrypted using standard off-the-shelf gpg/gpg2. [1] > > In my search for a library I could

Re: tool to encrypt millions of files in unsupervised mode (was: Need to implement a gpg/gpg2-compatible tool...)

2019-07-26 Thread Kynn Jones via Gnupg-users
On Fri, Jul 26, 2019 at 6:20 PM Ángel wrote: > On 2019-07-25 at 16:59 -0400, Kynn Jones via Gnupg-users wrote: > > In other words, I would love to use a single-purpose tool that is to > > AES256-encryption/decryption what, for example, gzip is to > > compression/decompression. > > > > Unfortunate

tool to encrypt millions of files in unsupervised mode (was: Need to implement a gpg/gpg2-compatible tool...)

2019-07-26 Thread Ángel
On 2019-07-25 at 16:59 -0400, Kynn Jones via Gnupg-users wrote: > In other words, I would love to use a single-purpose tool that is to > AES256-encryption/decryption what, for example, gzip is to > compression/decompression. > > Unfortunately, I have not been able to hit upon such a tool, which I

Re: Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-25 Thread Robert J. Hansen
> Pardon my ignorance, but I gather from this example that I would have > to manage not only passphrases but also iv's as well?  (That would add > to my work's complexity.) An AES256 key is only 32 bytes long; an IV, only 16. Keeping track of 48 bytes to decrypt your files isn't exactly a lot. Y

Re: Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-25 Thread Kynn Jones via Gnupg-users
o find out what I need to do for my purposes. (Who knows, maybe in the cryptography domain, complex multifunctionality is what give systems their longevity.) > [1] This gpg/gpg2 compatibility requirement is important, as > > an insurance that the files will be DECRYPTABLE in the >

Re: Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-25 Thread Robert J. Hansen
rmat, weird CFB mode, and everything else. Sometimes there's a lot to be said for simplicity. > [1] This gpg/gpg2 compatibility requirement is important, as > an insurance that the files will be DECRYPTABLE in the > "distant" future (10-15y), even the my tool is not properl

Need to implement a gpg/gpg2-compatible tool to encrypt millions of files in unsupervised mode

2019-07-25 Thread Kynn Jones via Gnupg-users
al solution would produce ENCRYPTED files that can be decrypted using standard off-the-shelf gpg/gpg2. [1] In my search for a library I could use to do this, I found gpgme and libgcrypt. I tried the former, and found it not suitable, due to frequent gpg-agent-related failures. libgcrypt, o

gpg2: unable to use secret key from OpenKeychain

2018-12-08 Thread justina colmena via Gnupg-users
This is the error message I get in gpg2 with (my own) key. GnuPG 2.2.9~11 gives me no indication that anything is wrong with the key until I am prompted for the passphrase, and then even the correct passphrase is rejected. Please enter the passphrase to unlock the OpenPGP secret key

gpg2: unable to use secret key from OpenKeychain

2018-12-07 Thread justina colmena via Gnupg-users
nt: December 7, 2018 9:14:25 AM AKST To: gnupg-users@gnupg.org Subject: Re: gpg2: unable to use secret key from OpenKeychain On December 7, 2018 7:28:19 AM AKST, justina colmena via Gnupg-users wrote: >Subject: secret key data (test key) >Date: 2018-12-07 > >This attachment is an encryp

Re: gpg2: unable to use secret key from OpenKeychain

2018-12-07 Thread justina colmena via Gnupg-users
binoc22_9r__X.bin Description: application/pgp-encrypted encrypted.asc Description: Binary data ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

gpg2: unable to use secret key from OpenKeychain

2018-12-07 Thread justina colmena via Gnupg-users
the secret key in gpg2 (~2.2.11), even though I can still encrypt to the imported key or verify signatures with it in gpg2. There does not seem to be any problem with using the secret key in "gpg" = GnuPG 1.4.23. $ gpg --decrypt backup_2018-12-07.sec.pgp | gpg --import gpg: unknown armo

Re: Unable to get gpg-preset-passphrase working with gpg2 + gpg-agent in Ubuntu Xenial

2018-08-18 Thread Austin Witt
It really was that simple! Thank you! I must have spent too many hours staring at it to be able to see such a simple issue. gpg-preset-passphrase is happy with a keygrip and works exactly as I want it to. Cheers! On Thu, Aug 16, 2018 at 11:34 AM, Peter Lebbing wrote: > On 16/08/18 18:31, Peter

Re: Unable to get gpg-preset-passphrase working with gpg2 + gpg-agent in Ubuntu Xenial

2018-08-16 Thread Peter Lebbing
On 16/08/18 18:31, Peter Lebbing wrote: > By the way, the GnuPG 2.1 in Ubuntu 16.04 hasn't been updated in almost > two years. I don't feel comfortable with it, and I would consider > alternatives. s/two years/two and a half years/ It hasn't been updated since release. For a moment I was thinki

Re: Unable to get gpg-preset-passphrase working with gpg2 + gpg-agent in Ubuntu Xenial

2018-08-16 Thread Peter Lebbing
gpg-preset-passphrase wants a keygrip, not a key fingerprint. To get the keygrip for a specific key, use f.e.: --8<---cut here---start->8--- $ gpg --with-keygrip -k 211601B877A3395Apub rsa1024 2012-03-17 [SC] [expires: 2018-08-23] 825472F37172B95ADC734

Unable to get gpg-preset-passphrase working with gpg2 + gpg-agent in Ubuntu Xenial

2018-08-16 Thread Austin Witt
I want: To be able to configure an Ubuntu Xenial machine with passphrase-protected gpg2 keys on disk, and have a running gpg-agent with a passphrase for the keys pre-loaded by a script. "Users" of this environment should never see a gpg passphrase prompt: the script will have been ru

Re: mute output of gpg2 -d

2018-07-25 Thread Werner Koch
On Sat, 14 Jul 2018 14:09, heavyt...@hotmail.com said: >> Use --batch or --no-tty to suppress this output > > both options worked. So you mean it's a bug in gpg2? Yes. I created https://dev.gnupg.org/T4088 for this. Salam-Shalom, Werner -- # Please read: Daniel Ellsbe

Re: mute output of gpg2 -d

2018-07-14 Thread J. Tull
On +0200, Werner Koch wrote: > On Fri, 13 Jul 2018 20:27, heavyt...@hotmail.com said: > > > [user@linuxbox ~]$ gpg2 -d .my_pwds.gpg 2>/dev/null > > > > You need a passphrase to unlock the secret key for > > That output goes directly to the tty. Without a pine

Re: mute output of gpg2 -d

2018-07-14 Thread Werner Koch
On Fri, 13 Jul 2018 20:27, heavyt...@hotmail.com said: > [user@linuxbox ~]$ gpg2 -d .my_pwds.gpg 2>/dev/null > > You need a passphrase to unlock the secret key for That output goes directly to the tty. Without a pinentry you will need to enter the passphrase also directly via the

Re: mute output of gpg2 -d

2018-07-13 Thread J. Tull
On +0200, john doe wrote: > On 7/13/2018 11:13 AM, J. Tull wrote: > > It seems the usual way to supress the output of a command in linux is not > > working for gpg2: > > > > $gpg2 -d my_file.gpg 2>/dev/null > > > > still outputs some data through

Re: mute output of gpg2 -d

2018-07-13 Thread gpgff00
On Fri, Jul 13, 2018 at 09:13:06AM +, J. Tull wrote: > It seems the usual way to supress the output of a command in linux is not > working for gpg2: > > $gpg2 -d my_file.gpg 2>/dev/null Have you tried "gpg -qd my_file.gpg" ? __

Re: mute output of gpg2 -d

2018-07-13 Thread john doe
On 7/13/2018 11:13 AM, J. Tull wrote: It seems the usual way to supress the output of a command in linux is not working for gpg2: $gpg2 -d my_file.gpg 2>/dev/null still outputs some data through stderr. So could someone try to find out a way to get rid of everything gpg2 is outputting

mute output of gpg2 -d

2018-07-13 Thread J. Tull
It seems the usual way to supress the output of a command in linux is not working for gpg2: $gpg2 -d my_file.gpg 2>/dev/null still outputs some data through stderr. So could someone try to find out a way to get rid of everything gpg2 is outputting but the decrypted output of the gpg f

Re: gpg2 --refresh-keys does not talk to dirmngr?

2018-07-03 Thread Werner Koch
On Mon, 2 Jul 2018 21:22, dirk.gottschalk1...@googlemail.com said: > localhost. This is not my intention. I have a running server in my > network which rund Suid/Provoxy/TOR. Is it possible to connect to this > tor server on the socks port for doing LDAP, WKD, or DANE Lookups? No, this is curren

Re: gpg2 --refresh-keys does not talk to dirmngr?

2018-07-02 Thread Dirk Gottschalk via Gnupg-users
Hello Werner, thanks for your answer. The Issue with Proxy was my fault. I didn't recognize a running dirmngr in background. After I killed this process, it worked. Am Montag, den 02.07.2018, 08:40 +0200 schrieb Werner Koch: > On Fri, 29 Jun 2018 16:12, gnupg-users@gnupg.org said: > > Note that

Re: gpg2 --refresh-keys does not talk to dirmngr?

2018-07-01 Thread Werner Koch
On Fri, 29 Jun 2018 16:12, gnupg-users@gnupg.org said: > I have set up a local proxy server with a squid/privoxy/TOR chain and > set it up in dirmngr.conf. Now, after deleting the keyserver line from > gpg.conf, I found out that gpg2 seems not to talk to dirmngr when using > gpg2 --

gpg2 --refresh-keys does not talk to dirmngr?

2018-06-29 Thread Dirk Gottschalk via Gnupg-users
Hello. I have set up a local proxy server with a squid/privoxy/TOR chain and set it up in dirmngr.conf. Now, after deleting the keyserver line from gpg.conf, I found out that gpg2 seems not to talk to dirmngr when using gpg2 --refresh keys. Is there something I have to set up in one of the

Re: gpg2

2018-06-27 Thread aarontovo
There are no references to anything about zip in my gpg.conf file. There also is no mention of preferences in gpg.conf. So it I'll rebuild gpg2 with the proper bzip2 library this evening. Thanks! Original message From: "Robert J. Hansen" Date: 6/27/18 1:58 AM

Re: gpg2

2018-06-27 Thread Robert J. Hansen
> Some hints: Please *don't* do this. BZIP2 compression is common enough that if a GnuPG build doesn't have it, the best course of action is to get a properly-done build. Removing BZIP2 from the preference list will hide the problem (no support for BZIP2), not address it! __

Re: gpg2

2018-06-26 Thread Robert J. Hansen
> $ gpg2 -k > gpg: invalid item 'BZIP2' in preference string > gpg: invalid default preferences Try "gpg2 --version" and look for a line like: Compression: Uncompressed, ZIP, ZLIB, BZIP2 ... I suspect you'll discover whoever compiled your GnuPG

Re: gpg2

2018-06-26 Thread john doe
On 6/27/2018 5:10 AM, Aaron Tovo wrote: 'gpg2 -k' gives me the following error: $ gpg2 -k gpg: invalid item 'BZIP2' in preference string gpg: invalid default preferences But 'gpg -k' works fine. However, I to use gpg2 in my Thunderbird-with-Enig

gpg2

2018-06-26 Thread Aaron Tovo
'gpg2 -k' gives me the following error: $ gpg2 -k gpg: invalid item 'BZIP2' in preference string gpg: invalid default preferences But 'gpg -k' works fine. However, I to use gpg2 in my Thunderbird-with-Enigmail email client because I've read in a

Re: Wrong Keygrip (gpg2 --card-status --with-keygrip)

2018-04-24 Thread NIIBE Yutaka
Hello, Thanks for your report. Dirk Gottschalk via Gnupg-users wrote: > gpg outputs the wrhon keygrip with --card-edit --with-keygrip. The > output is: [...] > As you see, it returns the same grip for enc. and auth. key. This is > wrong and "gpg2 -K --with-keygrip" return

Wrong Keygrip (gpg2 --card-status --with-keygrip)

2018-04-24 Thread Dirk Gottschalk via Gnupg-users
: A3B4BF3DA9F46E9BCC5687A7E59680A8B008DA8E As you see, it returns the same grip for enc. and auth. key. This is wrong and "gpg2 -K --with-keygrip" returns the correct Keygrips. My gpg version is 2.2.6 Regards, Dirk -- Dirk Gottschalk Paulusstrasse 6-8 52064 Aachen Tel.: +49 1573 1152350 signature.asc Description: This is a

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2018-01-14 Thread gnupg
Daniel Kahn Gillmor wrote: > On Sun 2018-01-07 23:23:16 +1100, gn...@raf.org wrote: > > For the actual decryption, I'm using sudo. From the original > > post, the command to set things up contains something like: > > > > /usr/bin/screen -- \ > > /usr/bin/sudo -u thing --set-home -- \ > > /us

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2018-01-11 Thread Daniel Kahn Gillmor
On Sun 2018-01-07 23:23:16 +1100, gn...@raf.org wrote: > For the actual decryption, I'm using sudo. From the original > post, the command to set things up contains something like: > > /usr/bin/screen -- \ > /usr/bin/sudo -u thing --set-home -- \ > /usr/bin/gpg-agent --homedir /etc/thing/.gnup

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2018-01-07 Thread gnupg
Daniel Kahn Gillmor wrote: > On Thu 2017-12-21 16:19:00 +1100, raf wrote: > > Sorry, I thought I already did. The 4th point above does not > > work. When the public-facing host connects via ssh to the > > key management host, and runs gpg, instead of it successully > > connecting to the existing g

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2018-01-05 Thread Daniel Kahn Gillmor
On Thu 2017-12-21 16:19:00 +1100, raf wrote: > Sorry, I thought I already did. The 4th point above does not > work. When the public-facing host connects via ssh to the > key management host, and runs gpg, instead of it successully > connecting to the existing gpg-agent process that I started > minu

Re: gpg2 export secret key without passphrase

2017-12-29 Thread Werner Koch
On Wed, 27 Dec 2017 18:13, calebc...@gmail.com said: > How does one export a gpg2 private key without a passphrase? See MFPA's recipe for a workaround. We have an open bug for this: https://dev.gnupg.org/T1753 Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen re

Re: gpg2 export secret key without passphrase

2017-12-28 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wednesday 27 December 2017 at 5:13:53 PM, in , Caleb Case wrote:- > How does one export a gpg2 private key without a > passphrase? Here, using GnuPG 2.2.4 under Windows, I was able to:- 1. gpg --edit-key KeyID passwd. 2. enter the

gpg2 export secret key without passphrase

2017-12-28 Thread Caleb Case
Hi, I am using gpg2 with some build automation and I need to generate a key for the automation that does not require a passphrase. I was unable to export the secret key until I added a passphrase, but then there was no way export it without the passphrase. I did eventually stumble on a hack

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2017-12-20 Thread raf
ain. I'm sure that's probably true and I do appreciate your efforts. > > Can incoming ssh connections use the existing gpg-agent that I > > have already started and preset with a passphrase or not? Does > > anyone know? > > yes, i've tested it.

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2017-12-20 Thread Daniel Kahn Gillmor
x27;ve tested it. it works. > Is continuing to use gpg1 indefinitely an option? Will it > contine to work with recent versions of gpg-agent? gpg1 only "works" with versions of gpg-agent as a passphrase cache, but modern versions of GnuPG use gpg-agent as an actual cryptographic agen

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2017-12-19 Thread gnupg
Hi Daniel, Thanks for responding. Daniel Kahn Gillmor wrote: > On Mon 2017-12-18 20:01:02 +1100, gn...@raf.org wrote: > > For most of my decryption use cases I can't use a > > pinentry program. Instead, I have to start gpg-agent in > > advance (despite what its manpage says) with > > --allow-pre

Re: Upgrading from gpg1 to gpg2: lots of trouble, need help

2017-12-18 Thread Daniel Kahn Gillmor
On Mon 2017-12-18 20:01:02 +1100, gn...@raf.org wrote: > For most of my decryption use cases I can't use a > pinentry program. Instead, I have to start gpg-agent in > advance (despite what its manpage says) with > --allow-preset-passphrase so that I can then use > gpg-preset-passphrase so that when

Upgrading from gpg1 to gpg2: lots of trouble, need help

2017-12-18 Thread gnupg
Hi, Happy Holidays! I'm migrating from gpg1 to gpg2 and am having lots of trouble. I apologise for the long email but it's been a saga and others may encounter the same problems I did and I have some (possibly stupid) suggestions and some questions that I need answers for. For

Re: pgpdump alternative for gpg2

2017-12-11 Thread gnu cry
I find my answer, my gpg version was my problem, more information in the below link: https://crypto.stackexchange.com/questions/53821/pgpdump-alternative-for-gnupg-2-x On Fri, Dec 8, 2017 at 6:58 PM, gnu cry wrote: > Hi gpg hackers, > > > I want to see gpg2 key parameters pack

Re: pgpdump alternative for gpg2

2017-12-10 Thread Werner Koch
On Fri, 8 Dec 2017 16:28, gcry...@gmail.com said: > I want to see gpg2 key parameters packets. pgpdump v0.32 doesn't support > gpg2 (especially elliptic curve cryptography packets) and "gpg2 > --list-packets" doesn't show key parameters. is there any way to see key

Re: pgpdump alternative for gpg2

2017-12-10 Thread Peter Lebbing
On 08/12/17 16:28, gnu cry wrote: > "gpg2 > --list-packets" doesn't show key parameters. Have you tried "-v --list-packets"? I'm testing with public keys, not private keys, but it seems to show the full data in hex. HTH, Peter. -- I use the GNU Priva

pgpdump alternative for gpg2

2017-12-10 Thread gnu cry
Hi gpg hackers, I want to see gpg2 key parameters packets. pgpdump v0.32 doesn't support gpg2 (especially elliptic curve cryptography packets) and "gpg2 --list-packets" doesn't show key parameters. is there any way to see key parameters (d, q and curve) of ecc in gpg2 imp

gpg2 missing

2017-10-11 Thread Honza Klos
Hello, am I missing something? gpg2.exe is not installed on installation of gpg4win 3.0.0. I am well aware that it is supposed to be the same binary as gpg.exe, however the behaviour (namely whether to run agent / GUI pinentry on password prompt) changes depending on how it is called. My git was

gpg2 decryption issues

2017-07-25 Thread Jerry Flowers
pg: public key decryption failed: Bad passphrase gpg: decryption failed: No secret key gpg2 -v --batch --yes --no-tty --passphrase-file <(echo testpp) -o tempain24 -d PAIN.024.pgp cat /export/home/applmgr/testpp | gpg2 --batch --passphrase-fd 0 --armor --decrypt /export/home/applmgr/PAIN.

Re: gpg2 on a Windows 10 Pro 64 bit machine

2017-02-27 Thread Jerry
On Mon, 27 Feb 2017 05:59:09 -0500, Jerry stated: >On Sun, 26 Feb 2017 20:56:55 -0500, Robert J. Hansen stated: <> I was just thinking that it might be nice to have a way to "LOG" the output of the program so that a user could inspect it later to see what transpired or if an error occurred. Ther

Re: gpg2 on a Windows 10 Pro 64 bit machine

2017-02-27 Thread Jerry
; -Path (Get-ItemPropertyValue ` > -Path "HKLM:\Software\WOW6432Node\GnuPG" ` > "Install Directory") ` > -ChildPath "bin" > $gpg = Join-Path -Path $gpgdir "gpg.exe" >} >ElseIf (Test-P

Re: gpg2 on a Windows 10 Pro 64 bit machine

2017-02-26 Thread Robert J. Hansen
t;gpg.exe" } ElseIf (Test-Path "HKLM:\Software\WOW6432Node\GNU\GnuPG") { $gpgdir = Get-ItemPropertyValue ` -Path "HKLM:\Software\WOW6432Node\Gnu\GnuPG" ` "Install Directory" $gpg = Join-Path -Path $gpgdir "gp

Re: gpg2 on a Windows 10 Pro 64 bit machine

2017-02-26 Thread antony
On February 26, 2017 5:30:20 AM EST, Jerry wrote: > >gpg: can't handle key algorithm 22 >gpg: can't handle key algorithm 18 > >I am not sure what that is referring to. Also, there are numerous keys >listed as revoked or expired. Is there a anything I can run from the >command line that will automa

gpg2 on a Windows 10 Pro 64 bit machine

2017-02-26 Thread Jerry
On a Windows 10 PRO 64 bit machine, when I run the following command: gpg2.exe --refresh-keys I receive the following error message: gpg: can't handle key algorithm 22 gpg: can't handle key algorithm 18 I am not sure what that is referring to. Also, there are numerous keys

Re: Smartcard working completely with GPG2 and incompletely with GPG1.4

2017-02-02 Thread Werner Koch
On Fri, 27 Jan 2017 01:58, gni...@fsij.org said: > With GnuPG 1.4 for smartcard can't work well for RSA 4096-bit keys. (I > think that it can also occur with the combination of GnuPG 1.4 and GnuPG > 2.0.) In fact, we may actually want to drop card support from 1.4 because that will never be up t

Re: Smartcard working completely with GPG2 and incompletely with GPG1.4

2017-01-26 Thread NIIBE Yutaka
Hello, chris.p...@gmx.de wrote: > With GnuPG 2, signing, encrypting and decrypting a file works without > any problems. With 1.4, I can encrypt and sign a file, but I can't > decrypt it. It's failing with the message: [...] > > gpg: public key decryption failed: general error > gpg: decryption fai

Re: Smartcard working completely with GPG2 and incompletely with GPG1.4

2017-01-25 Thread NIIBE Yutaka
Hello, Thank you for your report in detail. chris.p...@gmx.de wrote: > The commands gpg --card-status and gpg2 --card-status seem to display > mainly the same things, the only strange line is "Key Attributes" at > GPG 1.4: gpg 1.4 can use gpg-agent by the option use-agent

Smartcard working completely with GPG2 and incompletely with GPG1.4

2017-01-25 Thread chris . p . 16
ile, but I can't decrypt it. It's failing with the message: gpg: public key decryption failed: general error gpg: decryption failed: secret key not available The commands gpg --card-status and gpg2 --card-status seem to display mainly the same things, the only strange line is "K

Re: Upgrade to gpg2

2016-12-15 Thread Robert J. Hansen
> Do I have to delete the old one? No. > What about my configuration file, is this only for the > older version? Most older configuration files will work just fine with GnuPG 2.0 and 2.1. >From the Mint command line: sudo apt-get install gnupg2 It'll install GnuPG 2.0 (2.1 in Sarah) a

Upgrade to gpg2

2016-12-15 Thread unknown
Hi, i'm running Mint with gpg 1.4 I'd like to upgrade to the newer version of gnupg. Do I have to delete the old one? What about my configuration file, is this only for the older version? I don't know how to build from the source. Greetings. ___ Gn

Re: gpg2 export-secret-key if no master key present

2016-12-14 Thread Marat Stanichenko
Hello, > Hope that helps Definitely, that answers my question completely. Thank you very much, Marat ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: gpg2 export-secret-key if no master key present

2016-12-13 Thread Damien Goutte-Gattat
to the missing key, but it will be marked as a "dummy key". Try running the following command: $ gpg2 --list-packets secret-key You should see (among other things) something like the following: :secret key packet: version 4 [...] pkey[0]: [ bits]

gpg2 export-secret-key if no master key present

2016-12-13 Thread Marat Stanichenko
Hello, I created a master gpg key and an additional signing subkey. I also backed up the whole .gnupg directory to /my/save/place and deleted the primary key from the original .gnupg directory by simply removing the corresponding file under the private-keys-v1.d. So far so good, gpg2 -K shows a

Should gpg2's --passphrase-fd option automatically set --pinentry-mode loopback?

2016-11-25 Thread Sam Varshavchik
o not work if I use gpg2 instead of gpg: $ gpg2 --passphrase-fd 10 -s -b -a --default-key [hash] 10Keeping in mind the stated purpose of the --passphrase-fd option, does it make sense to automatically set "--pinentry-mode loopback" when the -- passphrase-fd option is provided to gpg2? Th

gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-19 Thread murphy
Hi David - I have run into this exact issue on various 32 bit machines or OS that run as 32 bit, like raspberry pi. I am certainly no expert but this seems to consistently solve the problem. sudo nano /etc/ld.so.conf Then place the following as the first line: include /etc/ld.so.conf.d/libc.con

Re: gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-19 Thread David Adamson
Running ldconfig as root resolved the issue I was having! Now when I type gpg2 --version in a new shell it reports the following: gpg (GnuPG) 2.1.15 libgcrypt 1.7.3 Thanks for the help. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http

Re: gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-19 Thread Peter Lebbing
On 19/11/16 15:13, David Adamson wrote: > Are you proposing I do this every time I wish to use gpg2? > Is this behavior expected in a successful installation or what did I > do wrong and can I fix it? Did you issue a # ldconfig as root after you installed the libraries? Because you sa

Re: gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-19 Thread David Adamson
That worked thank you but only for that session and I read that it's generally not good practice to make that path permanent. Are you proposing I do this every time I wish to use gpg2? Is this behavior expected in a successful installation or what did I do wrong and can I fix it? Thanks

Re: gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-19 Thread Werner Koch
On Sat, 19 Nov 2016 00:24, davidadamson...@gmail.com said: > gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3). You built gpg2 against Libgcrypt 1.7 but the system can't find that library at runtime and uses the system provided version (1.6.3). Quick workaround (assuming gpg w

gpg2 --version gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3)

2016-11-18 Thread David Adamson
: gpg (GnuPG) 1.4.18 but then saw reference online somewhere to gpg2 and figured that I should be checking the version to that and so I ran gpg2 --version and was presented with: gpg: Fatal: libgcrypt is too old (need 1.7.0, have 1.6.3). I would like to have either version at this point that works. I

Re: Linux GPG2 Encryption Getting Intermittent gpg: signing failed: Inappropriate ioctl for device When Run From Oracle Apps

2016-10-08 Thread Peter Lebbing
pg/issue2680>. The bug is that the error message is quite unclear, but means that the program was unable to prompt for a passphrase with a pinentry. > /usr/local/bin/gpg2 -v --batch --no-tty --output > $v_outbound_dir/$v_fname_sign --encrypt --recipient $v_recipient > --passphrase $v_pass

Linux GPG2 Encryption Getting Intermittent gpg: signing failed: Inappropriate ioctl for device When Run From Oracle Apps

2016-10-07 Thread Jim Ernst
Hello All - I am using the following code with gpg (GnuPG) 2.1.15, and when run on Linux submitted from an Oracle EBS Apps request it errors with "gpg: signing failed: Inappropriate ioctl for device": /usr/local/bin/gpg2 -v --batch --no-tty --output $v_outbound_dir/$v_fname_sign

RE: Syntax Question on GPG2 on LINUX

2016-10-06 Thread Steve Butler
Jim, I don't use modern but I do have a script for classic that works in unattended mode on a Linux box. The caller knows the input file name and the script knows my passphrase -- default gpg_pass2. Hope this helps with gpg2! --Steve $ cat gpg_encrypt #!/bin/ksh usage="gpg_encrypt

Syntax Question on GPG2 on LINUX

2016-10-06 Thread Jim Ernst
Hello All - I am working in a LINUX environment using GPG version 2.1.15 Can anyone give me the syntax to use gpg2 to create a signed, encrypted file using a passphrase in a LINUX shell script ? This is being run from Oracle EBS on a schedule so there would not be a user interacting to

Re: SSH hangs when using GPG2 + Yubikey on OS-X

2016-08-24 Thread Ben Warren
Hi, Sorry it took so long to get back to you on this. Today I installed gpg 2.1.15, which contains your fix. I haven’t seen SSH connections hang yet, but haven’t been using it long. I did, however, see failure to use the card. I initiated an SSH session, and it immediately prompted for the

Re: SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-19 Thread NIIBE Yutaka
On 07/19/2016 05:54 PM, NIIBE Yutaka wrote: > On 07/19/2016 02:22 PM, Ben Warren wrote: >> We don’t see this issue when using a file-based key for SSH, >> although in that case we’re using ssh-agent, not gpg-agent. I’ll >> try using a file-based GPG key, which will be closer to the failing >> conf

Re: SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-19 Thread NIIBE Yutaka
On 07/19/2016 02:22 PM, Ben Warren wrote: > We don’t see this issue when using a file-based key for SSH, > although in that case we’re using ssh-agent, not gpg-agent. I’ll > try using a file-based GPG key, which will be closer to the failing > configuration. Are you using some other tools for Yub

Re: SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-18 Thread Ben Warren
Hi, > On Jul 18, 2016, at 7:18 PM, NIIBE Yutaka wrote: > > On 07/18/2016 07:44 AM, Ben Warren wrote: >> I’m using a Yubikey 4 hardware token on OS-X “Yosemite”. I’m connecting >> to a remote Linux VM and am using GPG agent-forwarding in order to sign >> git commits using the Yubikey. I also for

Re: SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-18 Thread NIIBE Yutaka
On 07/18/2016 07:44 AM, Ben Warren wrote: > I’m using a Yubikey 4 hardware token on OS-X “Yosemite”. I’m connecting > to a remote Linux VM and am using GPG agent-forwarding in order to sign > git commits using the Yubikey. I also forward SSH through GPG, but find > that with one or two SSH sessio

SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-17 Thread Ben Warren
colleagues who have more open SSH connections open see it hang much more often to the point where this is unusable. === Software versions: ben ~ $ gpg2 --version gpg (GnuPG) 2.1.12 libgcrypt 1.7.0 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

SSH hangs when using GPG2 + Yubikey on OS-X

2016-07-16 Thread Ben Warren
colleagues who have more open SSH connections open see it hang much more often to the point where this is unusable. === Software versions: ben ~ $ gpg2 --version gpg (GnuPG) 2.1.12 libgcrypt 1.7.0 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: problem with make in gpg2

2016-05-28 Thread Arccotangent
This looks like a linker error with libgcrypt to me. What version of libgcrypt do you have installed? On 05/23/2016 08:34 AM, Acharya, Rohit (Contractor) wrote: I am getting this error when running the command make. I would appreciate any help I could get. ../../g10/gpg2 --homedir

Re: gpg2 --fetch-keys

2016-05-28 Thread Dashamir Hoxha
r verbosity in dirmngr.conf using log-file > and debug / debug-level / debug-all . Kristian, thanks for your detailed instructions. However it is not my intention to debug and to fix it. I wondered whether I, as a user, was doing something wrong. By the way, it has an easy workaround. Instead of

Re: gpg2 --fetch-keys

2016-05-28 Thread Kristian Fiskerstrand
On 05/28/2016 03:32 PM, Dashamir Hoxha wrote: > Hi, > > I get this general error and I have no idea what is wrong: you can increase the dirmngr verbosity in dirmngr.conf using log-file and debug / debug-level / debug-all . at least two things to look for, (i) is dirmngr compiled with gnutls supp

gpg2 --fetch-keys

2016-05-28 Thread Dashamir Hoxha
Hi, I get this general error and I have no idea what is wrong: $ gpg2 --fetch-keys https://github.com/dashohoxha/egpg/raw/gnupg-2.1/tests/gnupg/DA94668A.gpg.asc gpg: requesting key from ' https://github.com/dashohoxha/egpg/raw/gnupg-2.1/tests/gnupg/DA94668A.gpg.asc ' gpg: WARNING:

Re: problem with make in gpg2

2016-05-27 Thread Daniel Kahn Gillmor
On Mon 2016-05-23 08:34:50 -0400, Acharya, Rohit (Contractor) wrote: > I am getting this error when running the command make. I would appreciate any > help I could get. > > > ../../g10/gpg2 --homedir . --quiet --yes --no-permission-warning --import > ./pubdemo.asc >

problem with make in gpg2

2016-05-23 Thread Acharya, Rohit (Contractor)
I am getting this error when running the command make. I would appreciate any help I could get. ../../g10/gpg2 --homedir . --quiet --yes --no-permission-warning --import ./pubdemo.asc ld.so.1: gpg2: fatal: relocation error: file /usr/lib/libgcrypt.so.20: symbol gpgrt_lock_lock: referenced

Re: Creating encryption subkey with C25519 fails [gpg2 2.1.9, libgcrypt 1.6.4]

2016-01-08 Thread Thomas Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ah, OK many thanks for the info! I got confused with the option already available in gpg2 --expert Cheers and thanks, Thomas Am 07.01.2016 um 18:13 schrieb Kristian Fiskerstrand: > On 01/07/2016 05:17 PM, Thomas Hartmann wrote: >&g

Creating encryption subkey with C25519 fails [gpg2 2.1.9, libgcrypt 1.6.4]

2016-01-07 Thread Thomas Hartmann
Hi all, probably a newbie question: I have just been trying to create a curve 25519 subkey for encryption (I have already a RSA key for encryption-only and a c25519 for sign/auth). However, when going for the ECC encryption only fails always for me due to an invalid flag [1]? (gpg2 2.1.9

Re: character encoding differs in gpg and gpg2

2015-12-16 Thread Daniel Baur
Hello, Am 16.12.2015 um 11:51 schrieb Fabian Stäber: > My name has a special character. 'gpg --edit-key' shows it correctly, > 'gpg2 --edit-key' does not. either gpg or gpg2 show the umlaut in your key correct here. My locale is LC_ALL=de_DE.UTF-8. Sincerely,

character encoding differs in gpg and gpg2

2015-12-16 Thread Fabian Stäber
Hello, sorry if this has been asked before, but I didn't find it on google: If I call gpg, it uses charset utf-8. If I call gpg2, it uses charset US-ASCII. My locale is en_US.UTF-8. My name has a special character. 'gpg --edit-key' shows it correctly, 'gpg2 --edit-

  1   2   3   >