Questions tagged [pgp]

Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication.

Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication. PGP is often used for signing, encrypting and decrypting texts, E-mails, files, directories and whole disk partitions to increase the security of e-mail communications. It was created by Phil Zimmermann in 1991.

PGP and similar products follow the OpenPGP standard (RFC 4880) for encrypting and decrypting data.

Resources

817 questions
2
votes
1 answer

PGP/GPG unable to decrypt

I have an issue decrypting one file. I am receiving the file via email. I am able to decrypt it on Windows using PGPtools with no issues. When I am trying to decrypt the file on Linux I am getting the following error: gpg: no valid OpenPGP data…
Andrey
  • 1,808
  • 1
  • 16
  • 28
2
votes
0 answers

Missing files while decrypting PGP encrypted tar archive

I am having trouble with encrypting/decrypting a tar archive using Bouncy Castle OpenPGP library. I'm using TarArchiveOutputStream to add files to a tar archive and Bouncy Castle OpenPGP to encrypt the archive. Afterwards I am using Kleopatra to…
Janar
  • 2,623
  • 1
  • 22
  • 32
2
votes
2 answers

How to shorten the length of a PGP message

I need to generate a QR code from a PGP message. The problem is the code is coming out way too big (about 3 x 3 inches). How can I shorten the length of the PGP message to generate the QR code?
Hugo
  • 2,186
  • 8
  • 28
  • 44
2
votes
2 answers

The publicKey should not be null when trying to PGP encrypt in Mule

I'm trying to PGP encrypt a message using Mule, but I'm getting a "publicKey should not be null" error. I replaced local_policy.jar and US_export_policy.jar here: C:\Program Files\Java\jdk1.7.0_45\jre\lib\security In my Library I have:…
Benjamin Bryan
  • 351
  • 1
  • 8
  • 21
2
votes
2 answers

How to digitally signed a text file using PGP mechanism

I have a text file i need to digitally sign the text file using PGP method with the signature attached to the file.
deepu
  • 1,993
  • 6
  • 42
  • 64
2
votes
1 answer

How to generate a PGP Certificate in Java

I am currently using Bouncy Castle library (1.45) for the generation of X509 Certificate (i.e. X509V1CertificateGenerator), and now I need to be able to create and import/export a PGP Certificate into/from the keystore. However, I am not seeing any…
Codrguy
  • 649
  • 1
  • 7
  • 17
2
votes
0 answers

RSA / DSA implementation in the Forth language

I need to develop a PGP implementation for a custom Forth kernel, and I was wondering if anyone could give me pointers as to where I could get an RSA/DSA implementation in (any) Forth to use for the project. I prefer source code with a flexible…
DeLorean
  • 307
  • 1
  • 11
2
votes
0 answers

Bouncy Castle c# : Find public-key Fingerprint in PgP Message, possible?

I'm trying to figure out the message from a PgP public key, ie so I know with what I private key can decrypt the message. -----BEGIN PGP MESSAGE----- Version: BCPG C# v1.7.4114.6375 .... -----END PGP MESSAGE----- But I found the solutions were for…
stastka
  • 21
  • 4
2
votes
1 answer

Checking encryption status of email.

I've been working with gpg-mailgate recently and have it working almost how I want it. My last little hurdle is how do reliably check to see if an incoming email is already pgp encrypted. Here are the options I see. Add a content filter in…
TheEditor
  • 486
  • 1
  • 4
  • 18
2
votes
1 answer

How to use Bouncycastle PGPContentSigner to clear-sign a byte array?

I'm trying to use the non-deprecated constructors in bouncycastle version 1.49 but I'm having a hard time figuring out how to use the objects that these create, as it's a bit different from any of the tutorials I've found out on the web. This is my…
Stephen B.
  • 396
  • 2
  • 19
2
votes
3 answers

SSIS PGP encryption

I have a SSIS package that writes the output to Flat file. Now I need to PGP encrypt the output file and further decrypt in other packages. I am curious if anyone knows of how to do this, or better yet a website with helpful hints on how to do it.…
Jason M
  • 1,040
  • 4
  • 12
  • 21
2
votes
2 answers

Standard format for digital signature

I want to make a javascript library for signing messages. I expect the format to be something like... --- BEGIN SIGNED MESSAGE --- This is a plain old message It goes on and on... --- BEGIN RSA OF SHA1…
Billy Moon
  • 57,113
  • 24
  • 136
  • 237
2
votes
1 answer

openpgp and golang

I have some problems with the documentation. Here is my program: package main import ( "bytes" "code.google.com/p/go.crypto/openpgp" "encoding/base64" "fmt" ) func main() { var entity *openpgp.Entity entity, err :=…
Bussiere
  • 500
  • 13
  • 60
  • 119
2
votes
0 answers

How to generate a pgp public keyring with bouncycastle without having a private key

I'm trying to perform pgp encryption/decryption operations via Camel / Bouncy Castle PGP where I store the used keys in a JKS files and generate PGP keyrings on the fly from the public/private keys in the JKS stores (Camel only works with keyrings -…
vap78
  • 1,029
  • 2
  • 11
  • 26
2
votes
1 answer

Extracting the files from a windows pgp executable self extracting archive on linux

I have a customer who sends me (via their legacy system) a file containing some data. The issue is that they encrypt it via PGP and then create an executable self-extracting file to encase it. I am trying to move away from a windows process to do…
Richard Green
  • 2,037
  • 2
  • 20
  • 38