Skip to content

Commit

Permalink
Use latest Fedora image and use RSA key type and curve for gpg key
Browse files Browse the repository at this point in the history
Signed-off-by: Shreenidhi Shedi <[email protected]>
  • Loading branch information
sshedi committed Dec 2, 2024
1 parent 178a4fa commit 777516b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ci/Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:34
FROM fedora:latest

COPY ci/prep.sh /prep.sh
RUN chmod +x /prep.sh
Expand Down
1 change: 1 addition & 0 deletions ci/prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ common_pkgs=(
python3-pip
python3-pyOpenSSL
python3-requests
python3-setuptools
python3-urllib3
rpm-build
sed
Expand Down
20 changes: 10 additions & 10 deletions pytests/repo/setup-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ mkdir -p -m 755 ${BUILD_PATH}/BUILD \

#gpgkey data for unattended key generation
cat << EOF > ${TEST_REPO_DIR}/gpgkeydata
%echo Generating a key for repogpgcheck signatures
%no-protection
Key-Type: default
Subkey-Type: default
Name-Real: tdnf test
Name-Comment: tdnf test key
Name-Email: [email protected]
Expire-Date: 0
%commit
%echo done
%echo Generating a key for repogpgcheck signatures
%no-protection
Key-Type: RSA
Subkey-Type: RSA
Name-Real: tdnf test
Name-Comment: tdnf test key
Name-Email: [email protected]
Expire-Date: 0
%commit
%echo done
EOF

#generate a key non interactively. this is used in testing
Expand Down

0 comments on commit 777516b

Please sign in to comment.