Constantly restarting gpg-agent

2019-08-25 Thread Farhan Khan via Gnupg-users
Hi all, I use gnupg to sign my git commits, but after a few hours of use I have to restart gpg-agent. Before doing so, what I presume is gpg-agent asks me to re-enter my password on a random terminal (but it seems to drop characters and never works). As a result, the git commit fails. I have to

PGP Anonymous Board Idea

2019-03-05 Thread Farhan Khan via Gnupg-users
Hi all, I had an idea for an anonymous PGP messaging board system and wanted to get feedback on it or know if this idea has already been done. In short, this would be an anonymous messaging system where you can post encrypted messages. Anyone can access the encrypted message but obviously only th

Invalid IPC Response requiring gpg-agent restart

2019-03-03 Thread Farhan Khan via Gnupg-users
Hi all, I am ssh'ing into a FreeBSD box with my PGP key. I noticed that when I try to decrypt or sign something, I get this error: --- $ echo test | gpg -a --sign gpg: signing failed: Invalid IPC response -BEGIN PGP MESSAGE- gpg: signing failed: Invalid IPC response --- When I check the

Re: Why Signing key part of Master key

2019-02-24 Thread Farhan Khan via Gnupg-users
February 24, 2019 2:39 PM, "Kristian Fiskerstrand" wrote: > On 2/24/19 8:34 PM, Farhan Khan via Gnupg-users wrote: > >> Hi all, >> >> I am still working on setting up the "perfect" setup. When I created the >> master, it was [SC]. I >>

Why Signing key part of Master key

2019-02-24 Thread Farhan Khan via Gnupg-users
Hi all, I am still working on setting up the "perfect" setup. When I created the master, it was [SC]. I question, why is the signing key part of the master key? Why not have it be a subkey? Almost everywhere I looked, the two were a single key except this site (http://openpgpblog.tumblr.com/post

Re: Using Yubikey only to encrypt/sign

2019-02-18 Thread Farhan Khan via Gnupg-users
February 18, 2019 3:51 PM, "Andrew Gallagher" wrote: >> On 18 Feb 2019, at 20:35, Farhan Khan wrote: >> Hey Andrew, >> I was given the message "gpg: decryption failed: No secret key". I ran this: >> >> mv .gnupg .gnupg.bak >> gpg --card-status >> cat encrypted_message | gpg --decrypt >> >> Thi

Re: Using Yubikey only to encrypt/sign

2019-02-18 Thread Farhan Khan via Gnupg-users
February 18, 2019 2:35 AM, "Andrew Gallagher" wrote: >> On 18 Feb 2019, at 05:19, Farhan Khan via Gnupg-users >> wrote: >> >> How does one utilize *just* the yubikey (or OpenPGP smartcard in general) to >> encrypt, sign, or decrypt? This might be in a s

Re: Yubikey keytocard: "Bad secret key"

2019-02-17 Thread Farhan Khan via Gnupg-users
February 17, 2019 4:26 AM, "Andrew Gallagher" wrote: >> On 17 Feb 2019, at 07:20, Farhan Khan via Gnupg-users >> wrote: >> >> Key attributes ...: rsa2048 rsa2048 rsa2048 > > But you’re trying to load an rsa1024 key onto it. Have you tried l

Using Yubikey only to encrypt/sign

2019-02-17 Thread Farhan Khan via Gnupg-users
Hi all, How does one utilize *just* the yubikey (or OpenPGP smartcard in general) to encrypt, sign, or decrypt? This might be in a scenario where I only have the keys on my card but not on disk such as while traveling. I can confirm that 'gpg --card-status' lists the keys as present. I am simulat

Yubikey keytocard: "Bad secret key"

2019-02-17 Thread Farhan Khan via Gnupg-users
Hi all, I am trying to import my existing PGP key to my Yubikey and I keep getting: gpg: KEYTOCARD failed: Bad secret key Even after I reset the pin or set a custom value. I am following the instructions here (https://support.yubico.com/support/solutions/articles/1506421-resetting-the-open