GNU Privacy Guard (GnuPG or GPG) is OpenPGP compliant FOSS alternative to PGP encryption software.
Questions tagged [gpg]
162 questions
1
vote
1 answer
Where does duplicity store the key that it creates?
I started a backup via duplicity without giving it any options. I haven't created any GPG keys myself, so when I ran duplicity, it asked me for a passphrase, then created a key, and successfully backed-up (to BackBlaze B2) with encryption and…

0xnick1chandoke
- 13
- 2
1
vote
1 answer
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 own GPG key pair and share their public key with…

Florin Andrei
- 1,208
- 1
- 12
- 18
1
vote
1 answer
How to export GPG key without user interaction?
I use GPG keys to encrypt backups with duplicity, so I would like to export the key after it is generated, so I can move it to a backup location in case the server burst into flames.
Is there any way to export the secret key without user…
user497477
1
vote
1 answer
Have Duplicity use user's persistent gpg session when performing full filesystem backup?
I'm trying to set up automatic, full filesystem backups on my local system using Duplicity. I do not want to have to enter my password for it to encrypt a volume: what if I am not at the computer and the backup stalls? I absolutely do not want to be…

Kevin Smith
- 151
- 1
- 4
1
vote
1 answer
Querying SKS (PGP key server) database directly?
I have an SKS server set up on Ubuntu 16, currently with a manifest of keys from dumps provided by the MIT PGP key server. I'd like to be able extract public keys / subkeys and associated user info (email addresses, etc) from the SKS database into a…

huertanix
- 217
- 3
- 11
1
vote
1 answer
mongodb 10gen repo invalid signature
I am trying to install mongodb on debian from 10gen repo. I have followed the official guide HERE however i am stuck when trying to add the repo in apt.
The problem is that the signature is invalid. I add the gpg key using the command:
sudo…

giomanda
- 1,754
- 4
- 21
- 30
1
vote
0 answers
How to auto update the expired GPG keys of APT?
When you create your own APT repo, you have to create a GPG key for it.
So you need to import it with:
apt-key add yourkey.asc
or with a key server:
apt-key adv --keyserver keyserver.ubuntu.com --recv 3E5C1192
However, I do not know any update…

Xorax
- 348
- 4
- 12
1
vote
1 answer
Apache doesn't want to load GnuPG PHP
I've asked this in SO but maybe here is more suitable to ask.
I'm installed GnuPG via Pecl. Generate pub/priv keys etc.. I have in php.ini
extension=gnupg.so
When I try to run simple code I've got undefined gnupg_init() error which by my…

S.I.
- 198
- 3
- 14
1
vote
1 answer
how to trigger gpg agent refresh password?
We use StackExchange blackbox as well as Hiera-eyaml-gpg to encrypt files in our Git repo using GPG keys.
I configured Git to decrypt files using Textconv configuration, so it automatically decrypts and compares both blackbox and .eyaml files when I…

Capt. Crunch
- 839
- 2
- 12
- 25
1
vote
0 answers
gpg --receive-keys times out but Wireshark confirms the http response is received
I'm using a virtual machine running Ubuntu 14.04, trying to use apt-keys to add keys for nginx.
Most of this is automatic via puppet but I'm going through the process manually to find where the fault lies.
The machine is behind a corporate proxy so…

Sam
- 111
- 3
1
vote
0 answers
GnuPG complaining I don't have a secret key but I do
I am migrating machines I use for my backups. It uses GnuPG to encrypt/decrypt files. I moved my keys trying two different methods: exporting and copying the ~/.gnupg folder.
Both methods seem to work without issue. When I issue a gpg -k command,…

someone1
- 151
- 1
- 6
1
vote
1 answer
Sync Ubuntu repository with Cobbler server fails
I am trying to sync the Ubuntu trusty repo to my cobbler server. The issue is that for some reason the connection seems unstable during the parts that work.. additionally it fails to proceed with one of the repositories.
It seems I don't have any…

Scott Mattan
- 13
- 7
1
vote
1 answer
Options for gpg1 instead of gpg2 on CentOS/RHEL 6?
I have a customer whose application workflow relies on gnupg (gpg). Their system was recently migrated from CentOS 5.x, which shipped with gnupg version 1, to CentOS 6.5, which has gnupg version 2.
While this change should have been noticed in the…

ewwhite
- 197,159
- 92
- 443
- 809
1
vote
2 answers
How to automate GPG file decryption over SSH?
I would like to use GnuPG to decrypt short messages that are stored on a
remote host (running Linux), i.e.:
ssh [@]
gpg -d
interact with gpg-agent and/or just type in the password
close SSH connection
but in a more…

leden
- 113
- 1
- 5
1
vote
1 answer
how to use GPG to decrypt multiple files to a different directory
I am trying to decrypt multiple files to a different directory keeping the existing filenames. When i run the below syntax it seems to decrypt them ok but it only ouputs to the screen. I would like to either output the files with the same name to a…

user3402451
- 11
- 1
- 3