Tags » GPG

Gpg - can't connect to `/home/${USER)/.gnupg/S.gpg-agent': No such file or directory

Recently, I got below error while I was trying to create new gpg key:

can’t connect to `/home/aykut/.gnupg/S.gpg-agent’: No such file or directory
gpg-agent: command get_passphrase failed: Operation cancelled…

224 more words

YubiKey GPG key for SSH authentication

In this post I’m going to go over the steps to configure your YubiKey for SSH authentication using a GPG key stored on the YubiKey itself. 964 more words

GPG: no default secret key gpg

In Fedora, you may have both gpg and gpg2. The secret keys are stored in different ways.


which gpg gpg2

You might get: 79 more words


OpenBSD: Configuring mutt & gpg2

After spending some time configuring the mutt email client to use gpg2 in OpenBSD 6.1 and not finding a straight-forward explanation online, I thought I would document my process so other novice OpenBSD users would not have the same difficulties I had. 378 more words


Install docker on multiple Ubuntu Xenial hosts with Ansible

Ansible is an amazing piece of configuration management software. Among its amazing features is that it’s totally agentless and the only 2 packages that it needs on any host are python and an SSH server. 116 more words


Use GPG to Quickly Encrypt at the Command-Line

$ echo "cleartext" | gpg --passphrase "some-passphrase" -c --no-use-agent > text.encrypted
$ cat text.encrypted | gpg --passphrase "passphrase" --no-use-agent 2>/dev/null
$ cat text.encrypted | gpg --passphrase "some-passphrase" --no-use-agent 2>/dev/null…
16 more words


GPG key adding script for Debian*

*Debian based systems

There might be an easier way. Or maybe there is even an automatic way to do it. I couldn’t be bothered to search long enough. 127 more words