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

learn more… | top users | synonyms

1
vote
1answer
492 views

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 ...
1
vote
2answers
608 views

What does this gpg warning mean?

When I run my backup script as me, it works fine. When I run it as root, it still works, but I get this warning: gpg: WARNING: unsafe ownership on configuration file `/home/jason/.gnupg/gpg.conf' ...
1
vote
2answers
441 views

Can I use the same password for TrueCrypt as what I used when creating my Public Key?

I created and published a Public Key using gpg. I am now creating a TrueCrypt volume and wish to use the same password. Does knowing my public key, in this instance, make my TrueCrypt volume become ...
14
votes
3answers
7k 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 ...
2
votes
2answers
992 views

Validating GPG key signature authenticity

I'm trying to validate the integrity of my httpd-2.2.17.tar.gz image. I followed the steps written in the following pages: http://httpd.apache.org/download.cgi#verify ...
0
votes
1answer
1k views

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

GPG doesn't work in crontab

I have the following script: #!/bin/sh -e PWD="supersecretpassword" file="/backup/2do/example.txt" echo before echo $PWD | gpg --passphrase-fd 0 -c $file echo after The scripts works perfectly fine ...
1
vote
2answers
442 views

RPM issues after signing JDK 1.6 64-bit

I'm trying to sign the Java JDK 1.6u21 64-bit RPM on CentOS 5.5 for use with Spacewalk and I'm running into problems. It seems to sign okay, but then when I check the signature it seems to be missing ...
3
votes
2answers
802 views

GPG encrypt and decrypt with ssh-agent

I use ssh regularly and have ssh-agent set up. How can I use ssh keys to gpg-encrypt a file? Edit: It seems that this is impossible. Why? ssh can encrypt traffic, so why not also files?
1
vote
1answer
390 views

GPG key server for internal network

I'm looking for some software that works just like the public key servers but will only serve keys for a local network, hence the server needs to not sync with the public network. Can anyone suggest ...
2
votes
2answers
2k views

How can I use Duplicity with a symmetric key?

I am using duplicity to perform backups on my server. Right now duplicity is encrypting the backup using a GPG public-private key system. I would prefer to encrypt the backup files using just a ...
0
votes
1answer
1k 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 ...
1
vote
2answers
627 views

what are the minimal user permissions required to scp files to a remote server?

I want to setup a cron job to transfer data from one host (A) to another (B). My understanding so far is that I will have to create a user on machine B, so that scp can copy the files to a folder in ...
1
vote
1answer
243 views

Host GPG / PGP keys online?

Is there any way for me to setup my GPG key online so that they could be used to verify my signature? I mean, I own "thezombie.net", so I might as well host my key there, no? And locally, what do I ...
0
votes
1answer
754 views

Importing GPG Key

I have problems importing my GPG-Keys into my new installation of debian. I exportet the private-key a few years ago. Now I am trying to get everything running under a new debian. I tried to do ...
2
votes
4answers
2k 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
1answer
78 views

Public key read-only storage

We use GnuPG for encrypting data, which we upload to a central storage. The public key is being stored on a web-server, and the encrypting script re-downloads it if it's changed. This was done in ...
0
votes
3answers
3k views

Suppress GPG “Reading passphrase from file descriptor 0” message

Simply, how can I make GPG not print that message? Here are the commands I'm using: echo "test input" > test.in echo "test" | gpg -q -c --passphrase-fd 0 --output test.enc --yes --force-mdc ...
5
votes
4answers
2k views

gpg: what do I need to backup?

What are the critical files I need to backup from gpg? I guess my private key would qualify of course... but what else?
0
votes
1answer
51 views

keysize for Release.gpg?

What is the required keysize for generating Debian Release.gpg files?
1
vote
3answers
2k 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.
0
votes
2answers
478 views

Encrypt backups with GPG to multiple tapes

Currently, I use tar to write my backups (ntbackup files) to a tape drive fed by an autoloader. Ex: tar -F /root/advancetape -cvf /dev/st0 *.bkf (/root/advancetape just has the logic to advance to ...
13
votes
4answers
4k 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 ...
0
votes
5answers
645 views

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

The generation method of the random number at the time of the key pair making in gpg

in gpg --key-gen following error occured. Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 300 more bytes) What's wrong?
5
votes
3answers
269 views

GPG/PGP Signatures & Encryption - An Academic Security Question

Digital Signatures Digital signatures take place whereby you apply your private key to a particular message (or the hash of that message in most cases). The recipient then takes your public key - ...
9
votes
5answers
27k views

Why does apt-get update tell me to run apt-get update?

So I have this going on: # apt-get update Get:1 http://ftp.us.debian.org etch Release.gpg [1032B] Hit http://ftp.us.debian.org etch Release ...
2
votes
9answers
2k views

Output/pipe ntbackup directly to GPG

Currently, we can perform and encrypt a Windows backup with ntbackup and GPG in 2 separate steps in a batch script, as below: ntbackup backup "@selection_file.bks" /f "backup_file.bak" gpg ...
6
votes
3answers
215 views

General GnuPG tips

Prompted by the recent vulnerability in SHA-1 and admonitions to begin the process of moving away from that hash function, I'm playing around with GnuPG again. I was just wondering how other folks ...