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
1
vote
1 answer

How to sign and verify the file in JAVA

I have to place a file in remote SFTP server before that I have to sign the file with the private key and they will verify it with the public key. I am getting "PGP Signature verification failed" error from the response file. So I tried to verify…
1
vote
0 answers

Creating an armored ECC public/private keys in android studio from spongy castle library (OpenPGP)

My goal is to create Elliptical curve key pairs from it using spongy castle library and then armor it. X9ECParameters curve = ECNamedCurveTable.getByName("secp256k1"); ECDomainParameters domainParams = new…
1
vote
0 answers

Using PBEFileProcessor to decrypt file provided by bouncycastle

I am facing some issue in decrypting a pgp encrypted file. I have the pass phase and the file with me. Now to decrypt it I need to use a class PBEFileProcessor (best guess) provided by bouncycastle in their jar. I have included the jar in my eclipse…
1
vote
0 answers

read entity from public/private armored key

Is it possible to read entity details like name/comment and email from a given armored private / public key using golang openpgp package ? The following code implements a test that generate a new armored key pair, it then tries to get entity details…
user4466350
1
vote
0 answers

How to use the PGP encryption in PHP?

I need to use the PGP encryption. Need to create the public and private keys and encrypt the data of file with PGP encryption technique. How to do all these with PHP code? I tried installing gnupg, but that isn't working. Then tried using OpenPGP…
Tejasvita
  • 11
  • 3
1
vote
1 answer

How to use OpenPGP to decrypt from one blob to another

I get several PGP encrypted files per day imported to my blob store. I need to be able to decrypt them into another location in the same blob container. I already know that I have to create a custom batch activity to do this in ADF, I am just…
1
vote
1 answer

EOF error while reading PGP keys from JSON Golang

I'm developing an API using Golang, and I have a JSON file keys.json as follows: { "publicKeys": { "Flex": "", "Flex2": "" }, "privateKey": "" } To unmarshal this, I…
Haardik
  • 187
  • 1
  • 13
1
vote
1 answer

Find in Path text box is pre filled with random string

Android Studio / IntelliJ Find in Files pre-populates with a random string / hash / uuid / guid / fingerprint. How do I stop this from happening?
1
vote
3 answers

What is the difference between s/mime ,tsp and pgp

What is the difference between s/mime ,tsp and pgp? Reference : Bouncycastle. Bouncycastle has packages for all of them, just don't understand what is the difference and what is the purspose of each package
Haneef Ali
  • 11
  • 2
1
vote
0 answers

use gpg to decrypt file without prompt for passphrase

I have used below command and unable to proceed to decrypt file without prompting a window where user need to enter passphrase. I have checked in google and stackoverflow and did not find solution to my question. C:\Program Files…
1
vote
1 answer

Usage of OpenPGP within a browser and without Node.js

Is it possible to use OpenPGP.js without node.js? From the Abstract (https://openpgpjs.org/) I would expect that it is sufficient to have the package (openpgpjs-master.zip), an appropriate browser (e.g. Firefox) and a minimalisitic index.html. Is…
Anware
  • 13
  • 3
1
vote
1 answer

PHP7, LibSodium and common encryption algorithms

I am writing an implementation of OpenPGP (RFC 4880) with PHP7. GPG and PGP use the symmetric-key algorithm CAST5 (aka CAST-128) to secure private keys. Note: please note that other symmetric-key algorithms are usable (CF RFC 4880) : IDEA,…
Denis Kertios
  • 73
  • 1
  • 5
1
vote
1 answer

Creating PGPKEY from NSString public key in ObjectivePGP library

I'm using an ObjectivePGP library for PGP encryption is there any possible way to convert the NSString public key to PGPKey in ObjectivePGP I can't a find way to convert it to PGPKey. I read the documentation from ObjectivePGP no luck Any help…
Sunil Kumar
  • 468
  • 5
  • 12
1
vote
1 answer

Generating public/private keys in GnuPG from C/C++ and arguments

The newer version of GnuPG which is 2.1 has the function "gpgme_op_createkey" in the library GPGme. The older one this: gpgme_op_genkey(mContext, def.c_str(), NULL, NULL); Which accepts data in this format: char *def = "
Haji
  • 11
  • 1
1
vote
1 answer

Bouncy Castle Extract PGP Session Key from Public-Key Encrypted Session Packet

I have a PGP Public-Key Encrypted Session Packet from which I would like to extract the session key so that I can decrypt the session key separately. I'm using the BouncyCastle library and am extracting the session key like this: private static void…