Questions tagged [gnupg]

GNU Privacy Guard (GnuPG / GPG) is a cryptography suite implementing secret-key cryptography and public-key cryptography. GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880. Use this tag for programmatic use of the GPG tool or its library. Questions about direct usage of the GPG tool or its graphical pendents belong on Super User.

GNU Privacy Guard (GnuPG) is a cryptography application. It implements a combination of conventional symmetric-key cryptography for speed, and public-key cryptography for ease of secure key exchange.

GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880.

GnuPG allows encryption and signing of data and communication. It features a versatile key management system as well as access modules for all kinds of public key directories. The gpg command line tool has features for easy integration with other applications. A wealth of front-end applications and libraries are available.

See also:

1783 questions
0
votes
1 answer

Can't verify pgp signature

I downloaded rsync 3.1.3 from the official website and the relative signature but I am not able to verify the signature. This does not work $ gpg --verify signature.sig rsync.tar.gz gpg: unknown armor header: Version: GnuPG v1 gpg: Signature made…
Nisba
  • 3,210
  • 2
  • 27
  • 46
0
votes
1 answer

gpg: Key generation canceled

I am having a hard time generating a gpg keypair in linux. I am following the steps in this tutorial: https://www.gnupg.org/gph/en/manual/c14.html However, after it asks me for a passphrase and I insert one, I get the following message: gpg: can't…
user5620123
  • 55
  • 4
  • 11
0
votes
1 answer

How to get the gpg-agent to ask for the password when used in maven-gpg-plugin

I have several projects where I want to sign the resulting artifacts with a gpg key. In the past I used gpg 1.x (i.e. the old one) and in this setup I had the password encrypted (but usable) in the ~/.m2/settings-security.xml. I do not like that…
Niels Basjes
  • 10,424
  • 9
  • 50
  • 66
0
votes
1 answer

why pgp ask passphrase at the first time after I use --passphrase-fd

please see my batch file: cd C:\Program Files (x86)\Gpg4win\bin echo "my passphrase"|gpg --always-trust --recipient abc@def.com --batch --passphrase-fd 0 --output D:\pgptest\a.txt --decrypt "d:\pgptest\b.txt" It keeps asking me to input the…
Miken
  • 35
  • 8
0
votes
1 answer

How to do what GPGTools's context menu does, but using GPG in the command line?

I use Mac and sometimes I use GPGTools to do the following: open the TextEdit application and write, let's say, "Hello World" there. select "Hello World" and control-click the selection, to open a context menu. in the context menu, select "Services…
Bruno
  • 854
  • 7
  • 21
0
votes
1 answer

GPG decryption without passphrase, working on local but fails on IIS and hosted environment

I am using gpg encryption decryption, which is working fine on my local system (while running on VS2015) but it fails when I host it to server/or try running it from local IIS. It doesnt prompt for any runtime error, but dont create the decrypted…
Pankaj Nema
  • 165
  • 2
  • 13
0
votes
1 answer

realtime stream gpg encryption in c over pipe

I'm trying to use gpg to encrypt data in realtime. I'm already using libgcrypt directly but i need a standard format. I discarded gpgme since it did not seem suitable for a realtime stream application. What I would like to accomplish is this command…
GGenny
  • 3
  • 1
0
votes
1 answer

PHP Gnupg is not showing up as an extension in phpinfo() and I can't use it in php

I have gnupg and gpgme installed using homebrew. I also linked both and made sure they are installed and linked by running brew gnupg install and brew gpgme install and got the message confirming the installation and the version. I have placed the…
Bahman.A
  • 1,166
  • 4
  • 18
  • 33
0
votes
0 answers

Generate or mine pgp key with specific key id

Is it possible to generate or somehow mine a PGP key that its key id would be a specific key id? Say for instance get a PGP key with key id -> 0x5F38FF00
Xesina
  • 866
  • 9
  • 11
0
votes
1 answer

How do I make Vim to ask for the password everytime I open a GPG encrypted file?

I am using the gnupg plugin with the variable g:GPGPreferSymmetric set. I save and close the .gpg file with a password and when I reopen it, it is decrypted automatically without prompting me to enter the password. How do I ensure that the password…
work.bin
  • 1,078
  • 7
  • 29
0
votes
1 answer

Java how to encrypt text file using a specific public key?

I was given a public key id, and being asked to use this public key id to encrypt a .txt file. I can find a reference on how to perform this, but in C# language using Bouncycastle and nothing with Java. The specific public key id is provided by the…
lazyduckiy
  • 281
  • 2
  • 9
0
votes
0 answers

Gnupg files Permission correct? Error Message

Are my ./gnupg files permission correct on Debian? drwx------ 2 user user 4096 Feb 2 09:38 . drwxr-xr-x 24 root root 4096 Feb 2 09:39 .. -rw------- 1 user user 9188 Feb 1 11:03 gpg.conf -rw------- 1 user user 680 Feb 1 11:04…
user9308833
0
votes
0 answers

Using GnuPG in PHP Issue

I have an Problem to encrypt an Key. Theres nothing display in my Laravel Script. It dont generate the PGP Key, just empty field. I using Debian with Nginx and php5. My Controller: { if(session()->has('user_name')) { $user_name =…
saltiice
  • 1
  • 2
0
votes
1 answer

gcry_mpi_t type definition in libgcrypt-1.8.2

I'm looking for the definition of the gcry_mpi_t type. I'm looking into the code of GnuPG, which uses libgcrypt, which in turn uses the latter as the type responsible for storing the modulus, the prime numbers of the RSA keys, etc. Typically, in…
Blupon
  • 959
  • 1
  • 12
  • 16
0
votes
1 answer

gpg: no valid OpenPGP data found. while installing Cassandra

I am trying to install Cassandra on Ubuntu 16.04 64-bit machine. This requires adding keys to Cassandra repository. A step requires me to do the following: curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add - But I'm facing the…
1 2 3
99
100