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
0
votes
1 answer

key exchange algorithm with optional parties

I need to generate a secret key (or password) with agreement of multiple parties out of which some parties are optional. For example, Mr. A, B, C & D are members who can do agreement and out of which atleast two agreements are required to generate…
Vishal Dhawani
  • 267
  • 4
  • 7
0
votes
2 answers

Using PGP with an unknown entity

I'm currently researching on PGP and authentication schemes. Let's say i'm communicating with someone who claims to be an admin of a ftp site. (say, his email address is admin@genuine-website.com) Assume both of us have one another's PGP public…
user720694
  • 2,035
  • 6
  • 35
  • 57
0
votes
1 answer

what is the best python method for encryption

I retrieved the PGP key from the public key server ,Now need help in getting a python method for encryption which can accept this PGP public key . As i know PGP/Gnupg.py module do not allow me to use encryption/decryption function separately without…
user186160
0
votes
1 answer

Best Python way to harvest user entropy from keystrokes a la PGP?

Does anyone recall PGP prompting a user to "generate some entropy" by striking random keys? PGP would measure the entropy as it was being collected, indicating to the user with a cool little progress bar, and internally would time the key strokes,…
Cris Stringfellow
  • 3,714
  • 26
  • 48
0
votes
1 answer

PGP encryption from client side (js) with JSF 2

when client select a file with upload component, I need to implement PGP encryption from client side with JSF 2 (Create a faces component) or primefaces 2.2 (I dont see anything from client side in the upload component), because the file has…
0
votes
1 answer

GNUPG decryption failed in php

I am using GnuPG library to encrypt decrypt messages. I have successfully confirgured the GPG extension on my server and generated a key pair. Also I am successfull in importing another public key and enrypting data using that public key. I also…
Syed Rizwan Ali
  • 233
  • 2
  • 19
0
votes
1 answer

PGP - GnuPG - A few questions

I want to use GnuPG (http://www.gnupg.org/), the open source software that is a full replacement for PGP. The software looks great though I have never used it before. I will be using the software to encrypt files to transfer via the web, I am not…
Daniel Kivatinos
  • 24,088
  • 23
  • 61
  • 81
0
votes
1 answer

DIDISOFT - OPEN PGP Null pointer exception on decrypt

I am using OpenPGP from didisoft to encrypt and decrypt files. I have an encrypted file and the private key corresponding to the encryption key. But when I try to use the DecryptFile () method, I get a null pointer exception.. I cannot figure out…
Ron
  • 886
  • 13
  • 39
0
votes
1 answer

Decrypting PGP with multiple files merges them gpg

I'm using an SSIS (2008) process task to decrypt a PGP file. It uses the gpg executable. Basically, I use a ForEach loop, store the file name as a variable, and execute the following expression as the decryption argument: "--batch --passphrase-fd…
Kary
  • 3
  • 1
  • 3
0
votes
1 answer

Java signing files with BouncyCastle - Create signature of a file using secret keyring

I'm trying to write a Java program that signs a file with a private key. The program takes 3 arguments - file, secret keyring and a password. The output should be in a detached file *.bpg. The problem is that I get the following errors when I try to…
B.B10
  • 171
  • 1
  • 7
  • 16
0
votes
2 answers

Linux / Windows Shell Scripting to Unlock PGP File

I have a sequence of scripts which downloads PGP files from a FTP server. I then unzip these files with a private key using PGPKeys. The unzipped files are then picked up by a SQL Server job which appends the data onto our database. I'd like to…
Lloyd Banks
  • 35,740
  • 58
  • 156
  • 248
0
votes
1 answer

Security protocol for server-side shared secret generation

I am trying to implement a security system that has the following requirements: All clients share a password, which is not known to the server Each client has a unique client-id, which is known to the server All clients with knowledge of the…
Markus A.
  • 12,349
  • 8
  • 52
  • 116
0
votes
1 answer

Encrypt a string with PGP public key in C without external DLLs?

I see ton's of examples of this for C++ and C# but no luck with C. I'm trying to do a simple encryption of a string without referencing external DLLs. I started out trying cryptlib (just basic encryption before moving on to PGP) and with the…
Fmstrat
  • 1,492
  • 2
  • 17
  • 24
0
votes
1 answer

Error uploading PGP key to Google

I am uploading the BASE64 encoded key to Google using the instruction here but when I make the post request, I get the following response Content-Type application/xml is not a valid input type I'm posting this:
vishesh
  • 2,007
  • 6
  • 32
  • 67
0
votes
2 answers

BouncyCastle PGP Encryption / Decryption: Caused by: java.io.EOFException: premature end of stream in PartialInputStream

When attempting to encrypt then decrypt a file I run into the following exception: com.example.common.crypto.CipherException: org.bouncycastle.openpgp.PGPException: Exception starting decryption at…
Conner McNamara
  • 365
  • 1
  • 5
  • 15