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

Gradle, multiproject signing with gpg. Cannot configure the 'publishing' extension after it has been accessed

I have multiproject gradle configuration. I'd like to sign my artifacts before publishing. I do the following: allprojects { apply plugin: 'java' sourceCompatibility = 1.10 } subprojects { group 'com.example' version '1.0.0' …
Mariusz.v7
  • 2,322
  • 2
  • 16
  • 24
0
votes
0 answers

Encrypt Data with GPG in R and Output to Variable Not File

I'm using R's gpg package - https://cran.r-project.org/web/packages/gpg/gpg.pdf and I'd like to use- gpg_encrypt(data, receiver, signer = NULL) By default this outputs to a file. Is there any way to save the output of that function to a variable?…
AS3
  • 3
  • 4
0
votes
1 answer

How to get fingerprint or key_id from gpg signature in python?

I'm using the python-gpg library to decrypt / encrypt. Validation while decrypting a mail works fine, but i'm also trying to check which key was used to created a PGP signature, for example when a mail was not encrypted, just signed. Is there a way…
toxo
  • 1
  • 2
0
votes
1 answer

Unable to decrypt binary file

I've been trying to encrypt docx file using GPG public key and go's openpgp library. It encrypts document but then I am unable to decrypt it using my private key. Already tried to do the same with plain text file and decryption worked without any…
sultan
  • 5,978
  • 14
  • 59
  • 103
0
votes
1 answer

gpg decryption without file

i use gpg crypt but i want to crypt/decrypt files with pipe the content of the .gpg file or as input > filename per default following syntax gpg --output doc --decrypt doc.gpg the file doc.gpg must be exists ,decrypted file is doc after decrypt. i…
myiPhone
  • 11
  • 4
0
votes
1 answer

Crypting mail addresses - funny design problem

In my web project, I am storing mail addresses. These addresses may be used by the system to throw mails to the recipients. It is also important to say that these mail addresses have expiration time. But the critical point is trustness: for this…
Creasixtine
  • 740
  • 3
  • 11
  • 33
0
votes
1 answer

How to make gpg work, after I restore deleted keys

I removed all ~/.gnupg directory. But I could grep data, that looks like on pubring.kbx and keys in private-keys-v1.d. I don't no private keys keygrip. Can I some how export public and private keys from this data?
0
votes
1 answer

Decryption failed: No secret key using GPG

Last night I setup Pass Password Manager. I used gpg2, and followed this tutorial. I didn't implement git integration. Everything worked successfully. To view my password I had to enter my master key, exactly like how I want it. This morning I try…
Suji
  • 767
  • 3
  • 12
  • 28
0
votes
1 answer

How to pass the user input in batch file?

I have following script. echo off cd C:\Users\User_Name\Desktop\Encryption\Hemant test "C:\Program Files (x86)\GnuPG\bin\gpg.exe" --import PB_Key.gpg "C:\Program Files (x86)\GnuPG\bin\gpg.exe" -e Test.txt But after that in command windows its…
coder88
  • 31
  • 9
0
votes
2 answers

Yocto and the generation of images when using repository of signed rpm packages

I have two questions related with Yocto and the generation of images when the distro is configured to use a repository of rpm packages signed with gpg. First question: after running the "bitbake my-image.bb" command, the build process stops with…
aicastell
  • 2,182
  • 2
  • 21
  • 33
0
votes
0 answers

Is there a formal command to get rsa key form sig file?

gpg gpgme-1.9.0.tar.bz2.sig gpg: WARNING: no command supplied. Trying to guess what you mean ... gpg: assuming signed data in 'gpgme-1.9.0.tar.bz2' gpg: Signature made Tue 28 Mar 2017 10:36:41 PM HKT gpg: using RSA key…
showkey
  • 482
  • 42
  • 140
  • 295
0
votes
1 answer

Message Authentication Code for gpg

The gpg software supports symmetric encryption out of the box. That means, it works with a password. But apart from protecting the content it is also important to ensure the Authentication of a message. The idea is to create a hashsum of the file…
Manuel Rodriguez
  • 734
  • 4
  • 18
0
votes
0 answers

Process.Start on gpg.exe just hangs

I'm trying to run gpg.exe from C# using ProcessStartInfo()/Process.Start(). When I run it from cmd it works. I copy and paste the exact command I ran from cmd into my C# app and gpg.exe opens but it just hangs. Doesn't show any text in the window…
user441521
  • 6,942
  • 23
  • 88
  • 160
0
votes
1 answer

How can we avoid the gnupg passphrase prompt in C# for Windows?

I am trying to upgrade our legacy code from gnupg1.x to gnupg2.2.4. This is on Windows machine and I installed gnupg for windows gnupg-w32-2.2.4_20171220.exe. I am stuck as my C# application keeps prompting me to enter the passphrase and time outs…
Ditty
  • 521
  • 7
  • 24
0
votes
0 answers

python escape markquotes for bash script

I'm writing a small software that must pass to bash one string. the problem is that bash can't handle characters ", ', `. I've do a bruteforce software force gpg (if i use only digits and letters, this work without problems), but when my software…
Dea1993
  • 11
1 2 3
99
100