Project

Profile

Help

Issue #8016

Updated by daviddavis over 3 years ago

## Steps to reproduce 

 1. Checkout the pulp-fixtures repo 
 2. Install dependencies (`sudo dnf install -y createrepo gpg make rpm-build rpm-sign`) 
 3. Run `make fixtures/rpm-signed` 

 You can also try running the rpm signing command manually:  

 ``` 
 rpmsign `rpmsign --define '_gpg_name Pulp QE' --addsign --fskpath common/GPG-PRIVATE-KEY-pulp-qe --signfiles rpm/assets/bear-4.1-1.noarch.rpm``` rpm/assets-drpm/test-alpha-1.1-2.noarch.rpm`. 

 This works on Fedora 30 but seems to fail on any Fedora after that: 

 ``` 
 /tmp/tmp.tLVWwh66sH/bear-4.1-1.noarch.rpm: 
 hash(sha1): 5938462bfd4a5d750e0851f5b82f3ade 
 Failed to PEM_read_PrivateKey that. I believe the key file: /home/daviddavis/Projects/pulp-fixtures/common/GPG-PRIVATE-KEY-pulp-qe 
 openssl: error:0908F066:PEM routines:get_header_and_data:bad end line 
 error: sign_hash failed 
 error: signFile failed 
 make: *** [Makefile:444: fixtures/rpm-signed] Error 123 
 ``` maybe doesn't work anymore somehow?

Back