in Education by
I was coping with many problems to get stuck with this one. I have installed yum repository on server (CentOS 5.6) with: createrepo -v -s sha yumrepo/ sha is used due to solution to my earlier problem I have found: my reposistory was not accepted. ([Errno -3] Error performing checksum ) generated gpg key with: gpg --gen-key sign package with (package was not created on server): rpm --addsign mypackage-1.0-1.i386.rpm check if was signed properly: rpm -vv --checksig mypackage-1.0-1.i386.rpm D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key D: loading keyring from rpmdb D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Name rdonly mode=0x0 D: read h# 205 Header sanity check: OK D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring D: read h# 313 Header sanity check: OK D: added key gpg-pubkey-ebb3d90e-4ee5e6e8 to keyring D: Using legacy gpg-pubkey(s) from rpmdb D: Expected size: 3126 = lead(96)+sigs(528)+pad(0)+data(2502) D: Actual size: 3126 mypackage-1.0-1.i386.rpm: Header V4 RSA/SHA1 Signature, key ID ebb3d90e: OK Header SHA1 digest: OK (6d131be3c792fcc99da662f432c33facc86efc56) V4 RSA/SHA1 Signature, key ID ebb3d90e: OK MD5 digest: OK (76cfe98c4128d45da894a2b5b970e703) D: closed db index /var/lib/rpm/Name D: closed db index /var/lib/rpm/Packages and exported my public key with: gpg --armor --output MY-GPG-KEY --export 'MYNAME' On client (CentOS 5.6 too) I have created file /etc/yum.repos.d/myrepo.repo with following content: [myrepo] name=myrepo baseurl=https://login:[email protected] enabled=1 gpgcheck=1 gpgkey=https://login:[email protected]/MY-GPG-KEY protect=1 than as root I have run: yum clean all yum install mypackage and get an error: Downloading Packages: mypackage-0.1-1.noarch.rpm | 3.0 kB 00:00 error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature: BAD, key ID ebb3d90e While: rpm -q gpg-pubkey gpg-pubkey-e8562897-459f07a4 gpg-pubkey-217521f6-45e8a532 gpg-pubkey-ebb3d90e-4ee5e6e8 What should I do to have my package securely installed ? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Your answer is on this page : http://adminotes.blogspot.fr/2011/12/centos-6-rpm-sign-problem-v4-signatures.html In summary, v4 signature are used by default in Centos 6, but Centos 5 only supports v3. Adding --force-v3-sigs flag in your %__gpg_sign_cmd will makes it work.

Related questions

0 votes
    I'm using SafetyNet API for checking if device is rooted or not and using the below helpful code but ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 19, 2022 in Education by JackTerrance
0 votes
    I've seen the writeup on using yum to install the dependencies, and then installing Node.JS & NPM from source. ... on AWS Amazon Linux? Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    My goal is to host Django app on CentOs 7 with python3.10 I've manage to download and configure ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I'm trying to compile GTK+ 3 with ATK 2.2.0 on CentOS, but am getting an error with ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
0 votes
    I'm trying to compile GTK+ 3 with ATK 2.2.0 on CentOS, but am getting an error with ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    24 ina rsa system the public key(e,n) of user a is defined as (7,187).Calculate totient(n) and private ... you encrypt message m=88? Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    RSA is a Deterministic Encryption Algorithm as there is no random component. (1)True (2)False...
asked Mar 19, 2021 in Technology by JackTerrance
0 votes
    I've made a fresh eclipse reinstall + Android SDK v4.0. I am trying to create a new 4.0 AVD ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 30, 2022 in Education by JackTerrance
0 votes
    I have started implementation of Glide in my existing project and have been going through docs and examples. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    I'm used to v3 node botbuilder sdk so I have a middleware where I look at the dialog stack and ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    I want to connect android to my nao , it is version V4 or 1.14.5 and I do not find library ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 22, 2022 in Education by JackTerrance
0 votes
    If I understand correctly I can increase the performance of a numba function by adding a signature. Example: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 19, 2022 in Education by JackTerrance
0 votes
    icse blue j where is function signature?..show with example Is it possible to return 2 values from a method(function)?? Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    ______________ are difficult to identify as they keep on changing their type and signature. (a) Non-resident ... -Cyber Security:,Cyber Security-Jobs:,Cyber Security Applications...
asked Nov 1, 2021 in Education by JackTerrance
...