Questions tagged [gpg-signature]

127 questions
0
votes
1 answer

GPG errors from dnf on linux9

Recently installed Rocky Linux9 on a bunch of machines. No real problems except for some packages don't want to install. Example: confluent-kafka-2.11. If I run dnf install confluent-kafka-2.11 -vv I get the usual downloading info but it ends…
ethrbunny
  • 10,379
  • 9
  • 69
  • 131
0
votes
0 answers

Commit must be signed with a GPG key - After merge/rebase

I used this tutorial to setup gpg signing of commits: https://docs.gitlab.com/ee/user/project/repository/gpg_signed_commits/ If i create a branch and perform signed commits, no problem, they are verified on gitlab. I use these commands git add. git…
WKM_001
  • 1
  • 1
0
votes
2 answers

Is there any way to encrypt and then sign with GPG?

I am working on a tool that sends out automated reports to our clients. This specific client wants the file to be encrypted and then signed. I have tried several different methods, with hours of searching, and have not had much luck. I know GPG…
Ryan
  • 9
  • 2
0
votes
0 answers

Validation of gpg git commit signature

I’m trying to verify git commits using go-git and I need to provide the public key (armored key ring) as a parameter to the verification function. How can I get the public key? I’m getting the signature itself from the repo. Is the key saved…
0
votes
0 answers

GitHub GPG key can't find in PyCharm but works in Mac Terminal

I followed the guide to setup GPG key and managed to make a signing commit via mac terminal. However, when I tried to do the same in PyCharm, if i do git commit -m "test gpg key", it gave me an error in PyCharm terminal: error: cannot run gpg: No…
wawawa
  • 2,835
  • 6
  • 44
  • 105
0
votes
1 answer

Should expired subkeys be revoked?

I have 3 subkeys in my keyring that have just expired (created a year ago). My private key has no expiration date and is maintained offline most of the time. My plan was to rotate subkeys every year (not sure if it makes sense), I created 3 new…
nect
  • 11
  • 1
  • 4
0
votes
0 answers

Splitting .bin file to get signature in Python 3

I'm upgrading code from Python 2 to Python 3. It reads in a .bin file and splits it into a .sig and .img so that I can verify the signature with gpg. This works fine in Python 2, but in Python 3 the .sig and .img files don't seem to be split…
Paul
  • 5,756
  • 6
  • 48
  • 78
0
votes
0 answers

How can i sign rpm packages with a loop in an expect script

i do not know if this question was already made somewhere, please be patient with me. I'm compiling asterisk in a CI Job (Gitlab) and i want to sign all rpm packages with my own GPG key. For that i have this expect script: foreach files [glob *] { …
user19698007
0
votes
1 answer

gpg sign a file with --detach-sign in CentOS7 with SELinux enabled

My development environment is CentOS 7. SELinux is enabled in this. I am trying to sign a tgz file using gpg command with shell_exec() in my PHP code as below. $signResult = shell_exec("gpg --detach-sig --output signfile.gpg --sign InputFile.tgz…
Jai Thilak
  • 13
  • 3
0
votes
2 answers

Not able to install locally created APT package

I created a Rust application, which I would like to distribute as an installable package. So, I followed this guide https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/ Created a deb package, Created an apt repo & Signed…
Keval Bhogayata
  • 4,422
  • 3
  • 13
  • 36
0
votes
1 answer

commit results in: error: gpg failed to sign the data

For 3 days now I'm not being able to commit, push and so on (althoug I can clone). It started after setting gpg key and forgetting the secret phrase. Have changed gpg keys various times, and know I deleted all of them trying to commit with no…
0
votes
0 answers

How to verify good signature of a git signed tag without using command "git verify-tag"

I made a git signed tag, using this command: git tag -s Is there another alternatives to check the signature of this tag without using the command: git verify-tag or git tag -v ? My tag is signed locally on a git local repository…
Joker
  • 33
  • 7
0
votes
1 answer

GPG "Good Signature" achieved but not passing to GitLab

I'm looking for potential solutions or ways to investigate what I think is a breakdown between git and GitLab. My company requires commits to be signed and I've been able to successfully set up GPG and sign in the terminal. I generated the GPG key,…
0
votes
1 answer

Docker installation failing on Virtual box OracleLinux 8

I am getting below error on running : sudo dnf install docker-ce docker-ce-cli containerd.io warning: /var/cache/dnf/ol7_latest-31ccda58762f86b1/packages/libcgroup-0.41-21.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03:…
Atif
  • 2,011
  • 9
  • 23
0
votes
1 answer

What is my GPG keyID if there is no slash in my gpg list-keys output?

This is the output: $ gpg --list-keys /home/peng/.gnupg/pubring.kbx ----------------------------- pub rsa3072 2021-11-11 [SC] [expires: 2023-11-11] A8DD0A5173596CE87F613E42E1D4CD2CE69ED220 uid [ultimate] tribbloid…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
1 2 3
8 9