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

openpgp.js on wp8 error

I'm using an openPgpJs library in my app, created with Apache Cordova. Here's the part of the code: var publicKey = openpgp.key.readArmored(_publicKey); openpgp.encryptMessage(publicKey.keys, text).then(function (pgpMessage) { …
k102
  • 7,861
  • 7
  • 49
  • 69
0
votes
1 answer

How to query version of an OpenPGP public key

While reading RFC 4880 for OpenPGP, I read about version 3 and version 4 of OpenPGP keys. I do not understand what these versions mean other than specifying the packet format. How can I find out a version of a key? I know for code we can use Bounce…
user1484793
  • 359
  • 3
  • 16
0
votes
1 answer

Regarding PCI-DSS compliance - File encryption

Our application needs to a handle a file with credit card information (Assume credit card number) from an external system through an FTP interface. This is a flat file (text). We need to process the data based on some business rules and then need to…
kallada
  • 1,829
  • 4
  • 33
  • 64
0
votes
1 answer

Secure server-client handshake method

My client-server program uses OpenSSL to handle the data exchange and is working, but I need to be sure that the server on which my client is connecting is the correct server and not a fake one. The problem is my program generates a self-signed…
0
votes
2 answers

How to encrypt/decrypt a PGP message in Objective-C using OpenPGP.js

I want to encrypt a message using a armored key. I want to accomplish this using OpenPGP.js.
Cezar
  • 690
  • 1
  • 8
  • 17
0
votes
1 answer

How to prevent GPG from showing its head text

Can any one know how to delete the head text of gpg about license when we launch it. For example gpg2 --delete keyname gpg (GnuPG) 2.0.14; Copyright (C) 2009 Free Software Foundation, Inc. This is free software: you are free to change and…
SieuTruc
  • 475
  • 1
  • 7
  • 16
0
votes
1 answer

Does the Heartbleed bug require me to replace my openPGP keysets?

Having, on my Gentoo System, called equery d -D openssl | grep -i thunderbird I found that there are numerous dependencies between the eMail program thunderbird and openSSL. I am using the thunderbird plugin openPGP to encrypt and sign some of the…
Markus-Hermann
  • 789
  • 11
  • 24
0
votes
0 answers

QCA cannot import an OpenPGP private key - it turns into public key

Using QCA (libqca.so) OpenPGP library, I try to read a Private Key into a QCA::PGPKey object, but it appears QCA transforms it into the Public Key. The keypair is in keyring but QCA does not recognize it too. Here are the codes: #include…
0
votes
4 answers

Encrypted Communication - Avoid resending messages of third party

I want two parties to be able to send encrypted messages to each other. How can i make sure that a man-in-the-middle is not able to just resend encrypted messages? Of course the man-in-the-middle would not know what he send, but the receiver would…
alex
  • 310
  • 1
  • 6
0
votes
1 answer

PGP verifying: file not of legal path

Can somebody know what is wrong with my code? I kept getting error on this line below: bool validSignature = pgp.VerifyString(verifyRichTextBox.Text, new FileInfo(openFileDialog1.FileName), out plainText); The error is that the path is not of…
user2930173
  • 69
  • 2
  • 2
  • 8
0
votes
2 answers

OpenPGP CFB mode for Tag18

The bottom of page 50 in RFC 4880 describes how to encrypt plaintext data to store in the Symmetrically Encrypted Integrity Protected Data Packet (Tag 18). It says that the CFB mode is used. I have written code for CFB so that it works as described…
calccrypto
  • 8,583
  • 21
  • 68
  • 99
0
votes
1 answer

Generating PGP key ring using Bouncy Castle (C#) results in key ID FFFFFFFF

I try to generate an RSA key pair using Bouncy Castle for C#. I followed the tutorial for Java available at http://bouncycastle-pgp-cookbook.blogspot.de/2013_01_01_archive.html and create a master key and a signing key. My code looks…
Christoph
  • 1,964
  • 2
  • 27
  • 44
0
votes
1 answer

Generic OpenPGP File Signing Questions

I'm working with a bank that requires that I sign a file with OpenPGP before sending it. I grabbed some file signing code from somewhere online and am using Bouncy Castle to sign the file. It seems to be working but I'm having a hard time finding…
omatase
  • 1,551
  • 1
  • 18
  • 42
0
votes
2 answers

Can a public key be generated from a PGP PRIVATE KEY?

I am creating the license of my java product with openpgp using the public key. The product is shipped with the private key to read the license file. Is this the right approach? Can the private key be used to generate public keys? Thanks
Cesar
  • 1,610
  • 2
  • 16
  • 42
0
votes
1 answer

Facing issues with using Openpgp library

I downloaded the OpenPGP example code mentioned in question How do you use the PHP OpenPGP library?. I faced following error when I tried to access keygen.php: Fatal error: Call to undefined method OpenPGP_Message::signature_and_data() in…