GNU Privacy Guard (GnuPG or GPG) is OpenPGP compliant FOSS alternative to PGP encryption software.

learn more… | top users | synonyms

-2
votes
0answers
8 views

GnuPG on shared hosting server [closed]

I have a hosting server for my web projects, and would like to install GnuPG on it. The Problem: The shared server does not have Sudo, apt or yum My question: Is it possible to install GnuPG on my ...
0
votes
0answers
9 views

Trying to load posted public key from http://pgp.mit.edu:11371/ after loading it there

So, I run pgp --dry-run --import test.asc on the public key I gave to the site and then I look it up with that key that it gives back and it says not found. How to do this properly such that I can ...
0
votes
1answer
1k views

gnupg ELG vs ELG-E

We recently upgraded the server we use to gpg encrypt files with public key encryption. Old server had gnupg version 1.2.6. On the new server, gnupg version 2.0.18, we imported our gpg keyring from ...
1
vote
2answers
507 views

Duplicity - how to put passphrase in command?

I've tried a number of obvious commands as detailed in Duplicity Man page to do this but it doesn't seem to work. Scenario I'm SSH'ing to a machine, then running Duplicity; below is the command, of ...
35
votes
5answers
26k views

gpg not enough entropy!

SO I've got a ton of processes running in the background to try and get enough entropy but I am still failing. **We need to generate a lot of random bytes. It is a good idea to perform some other ...
-3
votes
1answer
30 views

How to export private key? (GnuPG) [closed]

I have successfully created GnuPG public/private key pair using RSA and RSA algorithm. But I can't figure out a way to export public key and private key in the form of file with .asc extension. I am ...
4
votes
1answer
222 views

Reprepro export could not find signing key

We have a private debian repository that was set up years ago by an earlier system admin. Packages were signed by the older key, 7610DDDE (which I had to revoke), as shown here for the root user on ...
0
votes
1answer
1k views

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 ...
0
votes
1answer
94 views

how do I covert a certificate with extension .cer to .asc

I have a certificate file (with extension .cer) that has content which looks something like this. -----BEGIN CERTIFICATE----- lots of data here -----END CERTIFICATE----- It is our signing ...
3
votes
1answer
39 views

Is is still necessary to export the trustdb file?

I'm reading up on these instructions for backing up gpg keys: https://gist.github.com/chrisroos/1205934 He says that in the gpg instructions it says that it's better to export trustdb and simply ...
0
votes
2answers
52 views

EPEL Repo GPG Key Working?

I followed the below steps to grab the EPEL GPG key and I'm trying to verify if it's working. This is on a freshly installed RHEL7 system. Repo: https://dl.fedoraproject.org/pub/epel/7/x86_64/ # cd /...
2
votes
0answers
57 views

SSH to linux machine with g10 smartcard on windows client

Hi it was recommended I post here after trying stackexchange. Appreciate any light you might be able to shed on my problem I am struggling to ssh to a linux machine from a windows machine using Putty ...
0
votes
1answer
41 views

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 ...
2
votes
1answer
1k views

gnupg 'libgpg-error.so.0 no version information available'

I'm trying to compile gnupg-2.1.0 for Debian Wheezy, I've downloaded and compiled the required libraries (libgpg-error-1.17, libgcrypt-1.6.2, libksba-1.3.2, libassuan-2.1.3, and pth-2.0.7 in that ...
6
votes
2answers
155 views

Encrypted offsite backup using GPG with private key never on backup server?

I have a backup server, that creates xz compressed tar archives of directory trees to be backed up. These tar archives can get huge (multiple TBs), are split into pieces (2.5TB), and each piece is ...
0
votes
1answer
195 views

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 ...
0
votes
2answers
62 views

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 ...
0
votes
2answers
3k views

How to install gpg keys from behind a firewall?

I understand that keyservers are using the port 11371 but in many cases you are not allowed to connect to this port and you cannot add There a many cases when you cannot modify the firewall ...
4
votes
2answers
1k views

How to generate gpg key without user interaction?

I found in https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html#Unattended-GPG-key-generation method to generate gpg keys without user interaction, but it doesn't seem ...
0
votes
0answers
54 views

GPG error on importing public key

I'm trying to upgrade my php installation from 5.3.10 to 5.6 on a Linux Mint 16 machine, and as a first step, I ran sudo apt-add-repository ppa:ondrej/php5-5.6 The above command is timing out while ...
0
votes
0answers
88 views

unable to enter password when creating gpg key

I am trying to create a gpg key on a headless Centos6 system (on a VPS). After errors regarding the gpg-agent, I put the following in my .bash_profile (found in the gpg-agent man pages) gpg-agent --...
2
votes
2answers
112 views

Allowing multiple users to decrypt pgp emails for one email-address

me and my business partner each have our own company email address for which we use PGP. This allows us to communicate safely with our customers. However in order to communicate securely, the sender ...
-1
votes
1answer
58 views

File encryption when limited in storage

Assume: On Linux server we have limited free space. The task is to create archive of a folder (for example /var/www), encrypt it and upload to remote location keeping original unencrypted file in ...
1
vote
3answers
3k views

Best PGP/GPG Encrypt/Decrypt Script

Is there are good default python or simple shell script that I can use to encrypt and decrypt files via PGP/GPG? I would be running this script every 5 minutes.
1
vote
1answer
265 views

Reliable PGP / GnuPG decryption for Mac OSX Mail

I'm developing a web app which emails encrypted data (from a web form) to a client who uses Macs/OSX exclusively in their office. I'd like to know: Is there are any reliable solutions for PGP / GnuPG ...
6
votes
3answers
7k views

gpg-agent says agent exists, but gpg says agent doesn't exist?

I'm struggling with some issues while scripting gpg with bash on a Debian 6.0.6 box. I have a script that does a batch of operations and wants to make sure that a gpg-agent is available before it ...
4
votes
1answer
3k views

Cannot update Debian Wheezy due to GPG error (NODATA)

I have a server running on Debian Wheezy. It's apt source file has following configuration: deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib deb-src http://ftp.uk.debian.org/debian/ ...
0
votes
0answers
107 views

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 ...
3
votes
0answers
70 views

Anubis as GPG proxy

I'm trying to setup GNU Anubis to act as a sort of proxy to sign/encrypt emails coming from a service. The service is currently configured to send email using our SMTP server. The idea would be to ...
0
votes
1answer
64 views

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-...
5
votes
2answers
766 views

Is it possible to use a gpg public key to encrypt a message without importing the key?

Sometimes I might want to use someone's gpg key to send a message but will have no need to ever use the key again. Importing the key in this instance seems unnecessary. I've searched, but can't find ...
0
votes
0answers
64 views

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 ...
1
vote
1answer
532 views

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 ...
0
votes
0answers
213 views

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 ...
7
votes
3answers
4k views

Debian - “WARNING: untrusted versions of the following packages will be installed!”

When i try to install or update any packages I get: Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you ...
2
votes
1answer
2k views

How to Disable GPG checks per Channel in Spacewalk?

Is it possible to disable GPG checks on a per channel basis in Spacewalk? For patching of my servers, I've converted from using local yum repositories on the clients under /etc/yum.repos.d, to ...
2
votes
1answer
602 views

replace or remove GPG signature on RPM

Is there a way to remove or replace an existing GPG signature on an RPM? I am placing a few obscure RPMs on an internal repo we use for supplementary rhel/centos packages. A few of those RPMs are ...
4
votes
5answers
3k views

user GPG key not able to be used by SUDO

I created a script that runs duplicity to backup files I have on a VPS,and uses a GPG key that I generated as a user. When I try and run this script as SUDO I get: GPGError: GPG Failed, see log ...
1
vote
2answers
731 views

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 [<user>@]<host> gpg -d <file-to-decrypt> interact with gpg-agent and/...
15
votes
4answers
6k views

Using PGP keys for SSH

I use a 4096 byte RSA PGP key; since SSH also uses the RSA standard, is it at all possible to use the PGP key as an SSH key without installing additional software on the server (and as little as ...
16
votes
4answers
11k views

gpg --gen-key hangs at gaining enough entropy on centos 6

Trying to generate a key for a server. gpg --gen-key We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize ...
0
votes
1answer
434 views

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 ...
1
vote
1answer
781 views

Bad RPM Signatures

I'm trying to set up a repo that contains both CentOS 6.4 and 5.9 packages. The machine itself is 6.4. I've created a GPG key and have been able to sign my 6.4 packages no problem. When I create them ...
1
vote
1answer
846 views

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. ...
4
votes
1answer
6k views

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact ...
1
vote
1answer
816 views

Duplicity fails on Too many open files?

I'm using Duply on top of Duplicity but apparently it fails (after 10 min on 100% cpu) on gnupg --- Start running command BKP 21:10:58.679 --- NcFTP version is 3.2.2 Reading globbing filelist /root/....
6
votes
1answer
3k views

How do I import a RSA SSH key into GPG as the _primary_ private key?

I currently have a SSH key that I've used for a while and I'd like to start using GnuPG with a new keyring. However, given that I've used my key for ages, I would like to still use that key in GPG as ...
1
vote
1answer
557 views

apt warnings with HP SDR/MCP repo on Ubuntu

I'm using the HP SDR system (MCP specifically) for Linux packages to manage the HP hardware RAID, iLo, etc. The kernel drivers for the hardware are upstream, so these are just management utilities. ...
2
votes
1answer
1k views

dget complains that public key not found

I'm trying to backport a package, but dget (dscverify) says that it can't check the signature because of public key not being found: [root ~/build/openssl] dget -x http://ftp.de.debian.org/debian/...
3
votes
2answers
1k views

How to verify an imported GPG key

I'm new to this PGP thing. Here are my questions: Verification When I do this, I'm given the message "This key is not certified with a trusted signature". Is there anyway to make it trusted and ...