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

Signing HTML Documents Using PGP or SSL via Web Forms

Let’s say I have a contract between two parties published on the Web. I want both parties to be able to sign the contract to show they consent to the terms, the way they would with handwriting in real life. I have seen many TOS agreements online…
Hugh Guiney
  • 1,309
  • 2
  • 19
  • 34
2
votes
7 answers

How can I create a self-contained encrypted file on Linux?

I recently went through this little noob adventure on a Linux desktop: Take a text file with sensitive info PGP-encrypt it (e.g. with Seahorse) Back it up Reinstall OS, erase hard drive, drop computer in pool, etc, etc Retrieve the encrypted file…
rob
  • 337
  • 1
  • 4
  • 9
2
votes
2 answers

PGP decryption using java api

i am trying to decrypt a PGP encrypted file. I would like to use the available java api and not third party. Is this possbile? I see posts that java api has capablities wanted to know if some one tried it and have any example?
2
votes
5 answers

PostgreSQL pgp_sym_encrypt() broken in version 9.1

The following works in PostgreSQL 8.4: insert into credentials values('demo', pgp_sym_encrypt('password', 'longpassword')); When I try it in version 9.1 I get this: ERROR: function pgp_sym_encrypt(unknown, unknown) does not exist LINE 1: insert…
Dean Schulze
  • 9,633
  • 24
  • 100
  • 165
2
votes
2 answers

PGP decryption on iOS

I'm trying to implement decryption of a PGP file on an iPad. I set up some test .txt files which I then encrypted via PGP desktop. I've imported the private key of the certificate used to encrypt the document, using SecPKCS12Import, then…
wickets
  • 89
  • 2
  • 11
2
votes
1 answer

PGP decryption in Apache camel route

I'm trying to decrypt a pgp encrypted file from an sftp server in apache camel. I've googled around and found a few threads, but have gotten no real leads as how to go pgp decryption in an apache camel route. Has anyone done this and willing to…
vikash dat
  • 1,494
  • 2
  • 19
  • 37
2
votes
1 answer

How to properly decrypt PGP encrypted file in a AWS Lambda function in Python?

I'm trying to create an AWS Lambda in python that: downloads a compressed and encrypted file from an S3 bucket decrypts the file using python-gnupg stores the decrypted compressed contents in another S3 bucket This is using python 3.8 and…
2
votes
1 answer

GPG - import a .key file containing only the private key in gpg

I am trying to restore my backup but somehow the pubring file does only show 1 key pair. I did import my old(most important) public key from the key server. So far, so good. Now I have a lot of keys inside ~/.gnupg/private-keys-v1.d/ They are all…
xddq
  • 341
  • 3
  • 7
2
votes
1 answer

How can I locally verify a git commit signature

So as an exercise im trying to figure out how to locally verify a git commit signature. As an example I am using https://github.com/ethereum/go-ethereum/commit/0a68558e7e025afebf67b81bf48ecb8b0fa7c06d. The public key for this sig is…
Robert Lemiesz
  • 1,026
  • 2
  • 17
  • 29
2
votes
0 answers

Cannot encrypt using EncryptContent in NiFi

I am using a public ASCII armored key file generated via the command : gpg --output PG1ar_en_pub.asc --armor --export "xxxxx@xxxx.com" In Nifi Encrypt content processor, I have setup the following configuration: When I run this, I am getting the…
djgcp
  • 163
  • 1
  • 14
2
votes
1 answer

Generate fingerprint with PGP Public Key

I have a PGP public key and I need to get the fingerprint for it. My Public key is as such: -----BEGIN PGP PUBLIC KEY BLOCK----- mQlDBF4w............................ . . . =uYgH -----END PGP PUBLIC KEY BLOCK----- I tried using the command gpg…
Mervin Hemaraju
  • 1,921
  • 2
  • 22
  • 71
2
votes
0 answers

Retrieve the public pgp key of a Maven hosted library

I've been trying to figure out how to retrieve the public facing PGP key of libraries hosted on Maven repositories (for instance MavenCentral and Google's mirrors). Is there a way that these keys can be retrieved through a url in some way?
Hrafn
  • 2,867
  • 3
  • 25
  • 44
2
votes
1 answer

OpenPGP.js - Getting an error: "Error decrypting message: Session key decryption failed."

Here is some of the code using openpgp.js: const privKeyObj = (await openpgp.key.readArmored(privkey)).keys[0]; await privKeyObj.decrypt(passphrase); options = { message: await openpgp.message.readArmored(encryptedData), privateKeys:…
jocca
  • 21
  • 1
  • 3
2
votes
1 answer

disable Thunderbird 78's "Attach my Public Key"

Is there a config editor option to disable automatically attaching my public OpenPGP key (Options → Attach My Public Key) in Thunderbird 78 (which embedded Enigmail addon functionality into the email program)?
Geremia
  • 4,745
  • 37
  • 43
2
votes
1 answer

Bouncy castle - Subkeys Support?

i am working on a project where it requires key management(Creation of Secret, Public and subkeys) and use them to perform cryptographic operations. I have tried a POC on PGP Subkey creation with Bouncy Castle and try to perform cryptographic…