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

learn more… | top users | synonyms

0
votes
0answers
16 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 ...
0
votes
0answers
21 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 ...
1
vote
2answers
32 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 ...
3
votes
1answer
41 views

Should the GPG key of a debian repository be shared among its maintainers?

I'm following this tutorial to set up a debian repository https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro This repository will be managed by me and my colleagues. We want to sign ...
4
votes
1answer
78 views

GPG Encryption: Am I using the right keys?

I have a process to encrypt a bank file using OpenPGP (via BouncyCastle) and SFTP the file to the bank for financial processing. They sent me a public key file, which I examined the key using the ...
4
votes
1answer
125 views

Using gpg-agent over ssh

I'm having a problem using the gpg-agent over ssh via a single command line. Here is my configuration : Server A : triggering the command via ssh. ssh user@serverB "sudo -E /path/to/script.sh" ...
0
votes
0answers
27 views

Chef: Verify remote_file gpg signature without creating keyring

So we all know that Chef's remote_file resource has this problem: You can give it an attribute for a checksum, but it only uses that to determine if it should download the file again, not to verify a ...
1
vote
0answers
42 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
87 views

How do you enable the storing of GPG / PGP keys in OpenLDAP

I've searched high and low trying to find a method that allows me to store GPG keys for existing users in an OpenLDAP server. The only relevant how-to I've found is this. However, I'm unable to get ...
-1
votes
1answer
244 views

How can I speed up my Duplicity backup?

I need to perform onsite backups of hundreds of gigabytes from a few Xen VMs to some storage available on a dedicated server in the same network, with a Gigabit connection. The data is mostly MySQL ...
2
votes
1answer
370 views

Encrypting all incoming mail with public pgp key per user

What I'm trying to do is be able to take all incoming messages and encrypt them with that users public pgp key. I'm running postfix + courier etc. http://flurdy.com/docs/postfix/ I've read through ...
0
votes
0answers
178 views

Storing GPG keys in LDAP with TLS using gpgme

I'm trying to send my GPG public key to our LDAP server, but I'm hitting a wall. My LDAP server only allows LDAP with Start_TLS over port 389, or LDAPS on port 636. I've got the following lines in my ...
3
votes
1answer
54 views

How to prevent gpg from creating .gnupg directory in user's home directory

I'm trying to run use the gpg tool to encrypt and decrypt files and I would like to know if it's possible to run this tool without it changing a user's global state. Specifically, running gpg for the ...
0
votes
0answers
36 views

Export GnuPG certificate to Microsoft / Firefox

How to export my private key to compatible format for Windows Live Mail or Firefox (PKCS #12)?
0
votes
0answers
68 views

Installing keys with .DEB packages silently fails

I'm trying to create a .DEB package which will install a number of certificates and keys onto a system. To do this, i've gone through the standard package creation process, and thrown two files, ...
1
vote
3answers
689 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 ...
5
votes
3answers
2k 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
92 views

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

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]# ...
-3
votes
1answer
55 views

How to view a GPG encrypted file securely? [closed]

When I decrypt / view a gpg file it is: decrypted in the terminal / console and thus gets into history the decryption goes into video memory and into normal memory and into the swap (if not ...
1
vote
2answers
938 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 ...
0
votes
2answers
263 views

Duplicity - how to put passphrase in CMD?

I've tried a number of obvious commands as detailed in Duplicity Man page to do this but doesn't seem to work. Scenario I'm SSH'ing to a machine, then running Duplicity; below is the CMD, of sorts:- ...
2
votes
1answer
96 views

Are PGP Universal keys compatible with the openPGP standard?

I'm having issues importing a PGP Universal Public key on a system that supports openPGP. Are these two different standards/formats? Should they be compatible?
0
votes
1answer
279 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 ...
9
votes
2answers
3k views

GPG - why am I encrypting with subkey instead of primary key?

When encrypting a file to send to a collaborator, I see this message: gpg: using subkey XXXX instead of primary key YYYY Why would that be? I've noticed that when they send me an encrypted file, ...
1
vote
1answer
190 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 ...
4
votes
1answer
452 views

How can I decrypt multiple files in a directory with gpg?

I have a directory with multiple .gpg files, all encrypted with the same passphrase. How can I decrypt them all without entering the passphrase over and over?
1
vote
1answer
122 views

Msysgit GPG error during commit signing

I'm getting the following error on Windows with msysgit. Doesn't matter whether or not I am doing it from the command prompt or the BASH bundled with Git: gpg: error loading `iconv.dll': The ...
2
votes
2answers
763 views

Different results from GnuPG and OpenSSL when using AES256 encryption

Text: apple Pass: password openssl aes-256-cbc -e -a -in apple.txt Output: U2FsdGVkX1/sqDrVkgk/7dKiCfLW+1/bgvRT/YAopJQ= gpg -c --cipher-algo AES256 apple.txt Output: ...
-1
votes
1answer
501 views

LAMP webmail with PGP/GPG support?

I've been asked to configure webmail for a company whose business is centred around their intellectual property - which is the rationale why we're using webmail, and not a client based email reader to ...
1
vote
1answer
90 views

List all gpg encrypted files that include a given recipient

An employee will be leaving our company, and we have a directory tree containing a number of files, each holding a password for a specific service, and each file is encrypted to those who require it. ...
2
votes
1answer
1k views

gpg key and what is it for? GPG key retrieval failed error

What is a gpg key and why do i need it? I get this nagging error when i install a fresh centos vps machine: GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: ...
2
votes
2answers
1k views

How does changing a GPG encryption key's passphrase work?

I know that I can do (edit: fixed this; I'm interested in gpg NOT openssh) gpg --edit-key ...to change my passphrase for my key, but I'm not sure what this means. If I'm encrypting data on box A ...
1
vote
0answers
280 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 ...
0
votes
2answers
211 views

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

Duplicity restore reports “Invalid SSH password” when I'm using a private key for connection

I'm testing the restoration of a backup with duplicity 0.6.15. I can login to my backup server just fine using ssh and sftp using the following commands and my private key: ...sftp root@client:~# ...
1
vote
1answer
456 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 ...
5
votes
1answer
304 views

Mailing list + PGP/GPG support

I would like to create such mailing list where every contributor must sign his/her messages with PGP/GPG, otherwise mailing list software would block unsigned message. All PGP/GPG public keys of ...
2
votes
1answer
319 views

Crypto key storage and recovery — best practices?

We have a bunch of SSH, GPG, SSL and other private keys that, obviously: must only be available to the smallest number of people possible can't be "lost" if a hard drive dies or the building burns ...
0
votes
2answers
124 views

Need convincing PGP public key needs to be changed

So the situation is thus. We're working with another company and as part of some file distribution processing we have to encrypt some files before they are sent. The company in question sent us ...
5
votes
3answers
249 views

PGP: on the web, what if everything was tampered?

I am trying to wrap my head around how Public Key Cryptography can really work in a secure manner. From what I can gather, you go to example.com and download their PGP/GPG Public Key and add it to ...
7
votes
4answers
3k views

Validating signature trust with gpg?

We would like to use gpg signatures to verify some aspects of our system configuration management tools. Additionally, we would like to use a "trust" model where individual sysadmin keys are signed ...
1
vote
1answer
267 views

PGP Encryption Proxy for Mail Server [closed]

I have a friend who is located in a part of the world that makes email encryption prudent for them. While I recommended OpenPGP, my friend thinks that it would have too high of a setup requirement for ...
1
vote
1answer
104 views

decrypt gpg file with specific key ?? (OS = WindowsXp)

please how i can decrypt file with specific key in batch file mode ? for example i want to :- decrypt file X.txt with key X.pub
1
vote
1answer
171 views

encrypt files by external GPG public key tools?

how i can encrypt files by eternal GPG public key ? for example user A generate public key A.pub and sent to me A.pub and you need from me to encrypt file by a.pub and sent it to you how i can do ...
1
vote
1answer
301 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
456 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
419 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 ...
10
votes
3answers
4k 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
838 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 ...