Questions tagged [gnupg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
1 answer
3k views

Why does duplicity need a passphrase for OpenPGP encryption?

I'd like to use duplicity to backup files and I'd like to encrypt them with GnuPG. I was wondering why duplicity asks for a passphrase to encrypt the files. For asymmetric encryption the passphrase is ...
john.dough's user avatar
3 votes
1 answer
5k views

chroot, gpg-agent, and Ubuntu 18.04

For SFTP access to my server, I have created a sftp user that is limited to a working directory by chroot. Match User sftp-user AuthorizedKeysFile /home/sftp-user/.ssh/authorized_keys ...
BurninLeo's user avatar
  • 900
3 votes
1 answer
1k views

SSH with gpg-agent: order of keys

I have GPG set up to talk to SSH (with --enable-ssh-support). I have two keys: say 0x1234 and 0xABCD. Both keys have the following subkeys: a signing key an encryption key an authentication key ...
adtac's user avatar
  • 131
3 votes
2 answers
4k views

How do I deploy my own GPG keyserver?

I would like to set up a read-only key-server operating by me where I am going to publish my own keys. So that anyone could do gpg --keyserver example.mymedia.su --receive-keys 0xDEADBEEF and get the ...
mymedia's user avatar
  • 131
2 votes
0 answers
74 views

GPG hangs when using a Yubikey

I am trying to debug why all of the sudden my Yubikey is taking very long to access. The Yubikey holds a GPG private key, that is then used for GPG and SSH. It was working just fine for several months ...
cdecker's user avatar
  • 411
1 vote
2 answers
2k views

Mailbox on-the-fly decryption (dovecot)

To avoid casual mailbox snooping for an IMAP server I am thinking of "transparent encryption" setup that would: Public key encrypt incoming messages at local delivery time Private key decrypt said ...
Alien Life Form's user avatar
1 vote
1 answer
334 views

Multiple files encrypted with multiple GPG keys - how to easily add/remove/manage keys, automate key change tasks?

We have a bunch of files that contain sensitive information, that need to be accessed by several teams, but need to be unreadable to everyone else. Currently, each team member needs to generate their ...
Florin Andrei's user avatar
0 votes
0 answers
101 views

Decrypt remote file securely with local private key

I've created a alldots.tar file mainly with dot config files from my local server. I then transferred it to my other (remote) server and there it is, cryptographed. It didn't occur at the time of ...
DrBeco's user avatar
  • 109
0 votes
2 answers
6k views

add-apt-repository fails due to gpg key timeout

I am running a Mail-in-a-Box server on Ubuntu 18.04. As part of the setup/update script, it attempts to execute the command add-apt-repository -y ppa:certbot/certbot. This fails with the following ...
Sebastian Hietsch's user avatar
0 votes
1 answer
1k views

Installing GnuPG extension for PHP on Centos 6.9 Multiple PHP versions

I am trying to install gnuPG pecl module for PHP on a server where multiple PHP versions are install 5.3, 5.6 and 7.0. I was able to just use pecl install gnupg for the base 5.3 install. However ...
Shaun Forsyth's user avatar
0 votes
1 answer
469 views

Compiling GnuPG links gpg2 to /lib instead of /usr/local/lib/ [closed]

Occasionally I have to install new packages on servers. If I'm lucky, I can find an RPM, otherwise, I get to bang my head on the wall and attempt to compile a package. This time I get to compile ...
Bob Smith's user avatar