Questions tagged [openpgp]

The OpenPGP standard was originally derived from PGP (Pretty Good Privacy)

OpenPGP software uses a combination of strong public-key and symmetric cryptography to provide security services for electronic communications and data storage. These services include confidentiality, key management, authentication, and digital signatures.

See also:

362 questions
202
votes
9 answers

How to display gpg key details without importing it?

I have a copy of the postgresql apt repository gpg key and would like to view the details of the gpg key as it comes in the file. Is this possible without importing it into a key ring?
Capt. Crunch
  • 4,490
  • 6
  • 32
  • 38
64
votes
5 answers

No public key: Key with id: (XXXXX) was not able to be located (oss.sonatype.org)

I am trying to push my staging repository on oss.sonatype.org to central repository, but this action is getting failed and i am getting following exception Event: Failed: Signature Validation typeId signature-staging failureMessage No public key:…
Umesh Awasthi
  • 23,407
  • 37
  • 132
  • 204
39
votes
2 answers

How do I verify a gpg signature matches a public key file?

I know how to use gpg verify like this: $ gpg --verify somefile.sig gpg: Signature made Tue 23 Jul 2013 13:20:02 BST using RSA key ID E1B768A0 gpg: Good signature from "Richard W.M. Jones " gpg: aka "Richard W.M.…
Rich
  • 926
  • 1
  • 9
  • 17
27
votes
2 answers

Encrypt files using PGP in PHP?

I want to use PGP encryption to encrypt a CSV files, I am generating through a PHP script and then send that file to client via email. Client will give me the encryption key, which I need to use for encryption files. I Googled about PGP and found it…
djmzfKnm
  • 26,679
  • 70
  • 166
  • 227
20
votes
2 answers

How do you use the PHP OpenPGP library?

There is a PHP extension port of the gnupg PGP library. However, I'm having a hard time finding examples that explain how to use the library. How do you properly create keys for application users, and then use them to encrypt/decrypt text using the…
Xeoncross
  • 55,620
  • 80
  • 262
  • 364
19
votes
1 answer

What are the meaningful differences between .gpg, .sig., & .asc?

I’m aware that .asc signatures are output as a text file, while .sig & .gpg are binary. That aside: Are .sig and .gpg the same file with different extensions? If not, why use one over the other? Between text files and binary files, what are the…
CuriousCat
  • 205
  • 1
  • 2
  • 5
19
votes
3 answers

Get fingerprints of OpenPGP keys

I'm trying to get the fingerprints from the public OpenPGP keys of ActiveMQ. They are published at http://www.apache.org/dist/activemq/KEYS. Unfortunately, not all the keys have fingerprints listed next to them. Do you have any idea how to proceed?
Mazzy
  • 13,354
  • 43
  • 126
  • 207
18
votes
4 answers

Adding GPG key inside docker container causes "no valid OpenPGP data found"

I'm trying to install New Relic's system monitoring inside a docker container, but the apt-key add - fails with no valid OpenPGP data found. There is the full Dockerfile: FROM ubuntu MAINTAINER Matej Koubik RUN echo deb…
Matěj Koubík
  • 1,087
  • 1
  • 9
  • 25
17
votes
5 answers

Getting GPG Decryption To Work In Java (Bouncy Castle)

let me start by saying I'm extremely new to all of this. What I am trying to do is to use gpg from within Java in order to decrypt an encrypted file. What I've done successfully: Had a colleague encrypt a file using my public key and his private…
Craig
  • 1,295
  • 3
  • 16
  • 29
16
votes
2 answers

PGP TarBall File Signature Keys Verification fails with no valid OpenPGP data found

This is the first time I figured I had better check the keys of the bind software I want to install. So I downloaded what I think is a OpenPGP key ... $ wget ftp://ftp.isc.org/isc/bind9/9.9.4/bind-9.9.4.tar.gz.sha1.asc ... then I tried to "import"…
Red Cricket
  • 9,762
  • 21
  • 81
  • 166
14
votes
1 answer

BouncyCastle updated pgp key now getting checksum mismatch error

I have a utility that is using the BouncyCastle.Crypto dll (version 1.7.4, runtime version 1.1.4), in order to decrypt a file that is given to it by another system. I just updated the pgp key (and provided the encryptor with the new public key). The…
user1161505
  • 173
  • 1
  • 1
  • 7
14
votes
4 answers

Android Source Repo GPG public key not found

I am running Linux Mint 14 and trying to download the android source. I followed the instruction for setting up the environment and when I was trying to get the source with repo, I got the following error. ... * [new tag] v1.9.4 ->…
YTKColumba
  • 4,023
  • 4
  • 19
  • 21
13
votes
1 answer

How to encrypt a file using PGP encryption in jruby9.1.2.0?

I am trying to encrypt file using gpg encryption before sending it in my jruby project. However I did not find adequate resources for it. I tried using ruby-gpgme but jruby did not support C libraries. I tried reading Bouncy Castle but I was…
Pravin
  • 1,671
  • 5
  • 23
  • 36
13
votes
1 answer

PGP data encryption for use with Yubico OpenPGP Smart Card

I'm trying to implement PGP encryption based on Yubikey NEO OpenPGP Smart Card applet in a Java application. It seems to be a dark art and is not easy to google this stuff but here is where I got so far: The card is initialized, keys are generated…
atok
  • 5,880
  • 3
  • 33
  • 62
13
votes
1 answer

How do I convert libsodium private keys to OpenPGP compatible private key packets?

libsodium is an awesome encryption library, and GnuPG is an awesome key management and signing software. GnuPG recently released support for Ed25519 signing keys, and submitted a draft to the IETF. I want to use Sodium-generated keys by my web…
Fredrick Brennan
  • 7,079
  • 2
  • 30
  • 61
1
2 3
24 25