Questions tagged [gpg-signature]

127 questions
0
votes
1 answer

How can I use GoReleaser to sign a binary with a GPG key that requires a passphrase

So it looks like Terraform recommends this config for GoReleaser, when I looked at it, there's nothing that uses sign parameter or something, does it mean that every project that uses this GoReleaser config uses an open GPG key then? GoReleaser…
Alex Kuzmin
  • 111
  • 1
  • 8
0
votes
1 answer

How to GPG sign only a particular unsigned commit?

I have an issue where I committed something earlier without GPG signing it while for the rest of the commits, I installed gpg and signed them. I want to gpg sign this one particular commits. Is there an apt way to gpg sign a particular commit using…
Mahesh Mesta
  • 793
  • 1
  • 11
  • 28
0
votes
1 answer

need to know kernel gpg (--kerserver) command addresses -- gpg command

I am running Debian 5.10.0-kali7-amd64 amd compiling kernel linux-5.12-6 when I run gpg --keyserver subkeys.pgp.net --recv-keys xxxxxxxx.... command it gives gpg: keyserver receive failed: No route to host and when I run gpg --recv-keys xxxx it…
user786
  • 3,902
  • 4
  • 40
  • 72
0
votes
0 answers

gpg failed in goreleaser

I am trying to use .goreleaser.yaml to publish binary files. builds: - env: - CGO_ENABLED=0 flags: - -trimpath ldflags: - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' goos: - windows - linux - darwin …
Eli
  • 11
  • 2
0
votes
0 answers

Signing my last commit won't reflect on GitHub

I'm trying to sign my last commit by running the following steps: git rebase -i HEAD~1 git commit --amend --no-edit -S git push --force-with-lease origin my-branch When I'm running git log --show-signature I can see that my commit is signed but…
Yogita Bhatia
  • 541
  • 4
  • 7
0
votes
1 answer

Can I use another gpg keyserver when all given gpg keyserver are not available?

I'm trying to build a docker image with given dockerfiles: https://github.com/31z4/storm-docker/blob/4c2804fa4365f62c3b6009d3496661542e4d446a/2.2.0/Dockerfile But docker build command occurs an error as below: gpg --keyserver…
yoon
  • 1,177
  • 2
  • 15
  • 28
0
votes
0 answers

gpg: keyserver receive failed: No route to host

I'm trying to build a docker image and running the following commands before "apt update" command in my Dockerfile RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D6D8F6BC857C906 RUN apt-key adv --keyserver keyserver.ubuntu.com…
0
votes
1 answer

How to log gpg verified files?

I am running a gpg --verify on a list of files that I am referencing from gpg_verify.txt. I want to track which passed, so that I can later download some files that have first passed my check. Therefore, how can I capture whether/or not a…
swarr35
  • 89
  • 1
  • 8
0
votes
2 answers

When does GPG load its keys?

On an OpenWRT installation, I have an update script that downloads a file and checks its GPG signature. If I run this script at boot in rc.d at priority 99 (it's the last one), I get a "gpg: Can't check signature: public key not found" error. If I…
MGG
  • 93
  • 1
  • 9
0
votes
1 answer

Broken gpg key from google kubernetes kubectl

So I'm trying to install kubectl from the official repository but I'm getting an error while adding their key: https://packages.cloud.google.com/apt/doc/apt-key.gpg . I've tried user@machine:~/Downloads$ gpg --verify apt-key.gpg gpg: verify…
0
votes
1 answer

Git log colorify GPG signature verification status

Git log pretty-format has placeholder %G? o %G?: show "G" for a good (valid) signature, "B" for a bad signature, "U" for a good signature with unknown validity, "X" for a good signature that has expired, "Y" for a…
kyb
  • 7,233
  • 5
  • 52
  • 105
0
votes
0 answers

PHP run shell script can't write new files

I know there exists some libraries, openPgp or gnupg, to encrypt and decrypt files in PHP, but it is a requirement of the company that the script works with bash script and runs from PHP like shell_exec("./myscriptencrypt") #The example…
pedroooo
  • 563
  • 1
  • 4
  • 17
0
votes
1 answer

If I lost my GPG private key, would everybody be still able to verify my Git commits' signature?

My GPG private key never expires. I know I will lose it eventually when my hard drive crashes and I will generate a new one. But I care to backup my GPG public key in numerous places. So if I lost my GPG private key someday, would my Git signature…
user2015064
0
votes
0 answers

How to recover the gpg secret key?

I am using a new computer, but my gpg secret key is in another computer which is broken, so I can not import it from there. Then how can I find back the the secret key ? Thanks
zjffdu
  • 25,496
  • 45
  • 109
  • 159
0
votes
2 answers

can I sign files with pre-made sig file?

I have a file that I need to sign with a sig key that I got from a site. I was able to convert the sig file to .txt and to .asc but could not use it to sign. Now it is to my understanding that sig files could be created when decrypting a file as a…
1 2 3
8
9