GNU Privacy Guard (GnuPG or GPG) is OpenPGP compliant FOSS alternative to PGP encryption software.
Questions tagged [gpg]
162 questions
0
votes
1 answer
RHEL6 and GPG 2.0.14: What is a working keyserver config with proxy?
The documented solution doesn't seem to actually work. The documented solution:
In ~/.gnupg/gpg.conf change to use an HTTP keyserver and honor the environment variable http_proxy. The proxy I'm using is a special proxy that requires no…

Steve Bonds
- 1,014
- 2
- 12
- 21
0
votes
2 answers
GPG Key not available for Local Apt Repo
We have an Apt-mirror server.
We have also a custom repo named 'local' on this server.
If I add in sources.list the following line :
deb http://aptmirror.example.com/local trusty main
The following error is displayed :
W: Erreur de…

Isador
- 1
- 1
- 1
0
votes
1 answer
Duplicity for remote backup to AWS S3
I am using Bacula with S3 for backups. I keep bacula volumes for 60 days or so. Using duplicity as I would like to use GPG encryption of the volumes.
Is there any way to do an rsync style sync using duplicity? What I want is exactly the same…

W Khan
- 58
- 7
0
votes
0 answers
gpg-mailgate removes content of e-mails
I have installed gpg-mailgate from this repository on my server as stated in the INSTALL file.
It does seem to work, partially. As it would be expected, when sending an e-mail to an account on my server for which there is no GPG public key…

Phil
- 21
- 2
0
votes
1 answer
Easy way of checking signature of a source package from the other release of debian
I'm trying to backport nanomsg from jessie to squeeze. But when I run:
dget http://http.debian.net/debian/pool/main/n/nanomsg/nanomsg_0.4~beta+dfsg-3.dsc
It says:
dscverify: nanomsg_0.4~beta+dfsg-3.dsc failed signature check:
gpg: Signature made…

x-yuri
- 2,141
- 2
- 24
- 29
0
votes
1 answer
Can't create an apt mirror using debmirror
I'm trying to create a mirror in my local machine, but I can't verify the gpg signatures.
Followed these steps: https://help.ubuntu.com/community/Debmirror
The only difference I created the trustedkeys under /home/ubuntu/mirrorkeyring and repository…

Erico
- 156
- 2
- 12
0
votes
5 answers
Automatically encrypting incoming email
I have a small website and would like to encrypt incoming email using gpg. Is there a way to force sendmail to check email and encrypt it if its not already encrypted?
I'm using GPG on a linux server.
Thanks
[added]Someone asked what I hope to…

user16067
- 103
- 3
0
votes
1 answer
/usr/bin/gpg md5sum fails; CentOS gpg Package?
I am running CentOS 6.3.
I have a tool that monitors md5sum hashes for system binaries, and emails me whenever there is a change. Obviously whenever I run updates to the system via yum, this md5sum check indicates that the hash has changed.
This…

David W
- 3,453
- 5
- 36
- 62
0
votes
1 answer
php gnupg = unable to load warning
End goal: use PHP GnuPG library in my Mediawiki extension
I have installed
gpgme with dependencies
run pecl install gnupg = no errors
added extension=gnupg.so to my php.ini
:
[root@dev-lamp01]# locate…

webwesen
- 945
- 4
- 13
- 21
0
votes
2 answers
Debian / libcurl error using gpg
I am trying to register a Key with gpg to upgrade my debian system with aptitude.
System is Debian 4.0 32bit.
Unfortunately I am getting an error. This is waht I try:
gpg --keyserver pgp.mit.edu --recv-keys [KEY]
The error:
error while loading…

Thomas
- 3
- 2
0
votes
1 answer
Encrypting files with different public keys
How can I encrypt three different files, each with its own public key?
For instance, there are three companies (X, Y and Z). Each company sends me its own public key.
I want to send a file to each company and encrypt it using the correct matching…

Mohammad AL-Rawabdeh
- 1,612
- 12
- 33
- 54
0
votes
1 answer
Backups with rsync and gpg
I've found plenty of posts online about this but none that actually answer my question.
I'm trying to back up my system in such a way that the files end up encrypted on my backup drive. Here's a naive chain of pseudo-commands that obviously wouldn't…

Jason Swett
- 1,468
- 5
- 23
- 37
0
votes
0 answers
apt update throws warnings - how to fix?
I'm migrating a website to a fresh Ubuntu 22 server hosted by Rackspace. I'm doing some initial config and hardening and I start with the usual:
apt update
apt upgrade
The apt update command spits out a couple of warnings:
W:…

S. Imp
- 526
- 1
- 4
- 19
0
votes
1 answer
How to use gpg without --keyserver (which is deprecated too, just like apt-key)
The background
For some time now, apt-key warn users with deprecated messages like this one:
use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main keyring
There is a lot of…

4wk_
- 310
- 3
- 15
0
votes
0 answers
How to expand the expiration of gpg subkey while it had expired in shell script?
It is Nov 27, 2022 now. The environment is below:
user@domain:~$ date
Sun Nov 27 00:32:12 HKT 2022
user@domain:~$ gpg -K --keyid-format long --with-fingerprint --with-subkey-fingerprint --with-keygrip user
sec rsa4096/CCCCCCCCCCCCCCCC 2022-03-31…

cliusz
- 1