Skip to content

Commit

Permalink
Use "OpenPGP" instead of "PGP" in distro-sync, gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode committed Dec 11, 2024
1 parent 37b961c commit 67601ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions dnf-behave-tests/dnf/distro-sync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Given I use repository "dnf-ci-gpg"
Then the exit code is 1
And stderr contains lines matching
"""
Transaction failed: Signature verification failed.
PGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package.
^Transaction failed: Signature verification failed.$
^OpenPGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package\.$
"""


Expand All @@ -86,8 +86,8 @@ Given I use repository "dnf-ci-gpg"
Then the exit code is 1
And stderr contains lines matching
"""
Transaction failed: Signature verification failed.
PGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package.
^Transaction failed: Signature verification failed.$
^OpenPGP check for package "wget-2\.0\.0-1\.fc29\.x86_64" \(.*/wget-2.0.0-1.fc29.x86_64.rpm\) from repo "dnf-ci-gpg-updates" has failed: Problem occurred when opening the package\.$
"""


Expand Down
12 changes: 6 additions & 6 deletions dnf-behave-tests/dnf/gpg.feature
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Scenario Outline: Fail to <offline> install signed package with incorrectly sign
And RPMDB Transaction is empty
And stderr contains lines matching
"""
Transaction failed: Signature verification failed
PGP check for package "basesystem-11-6\.fc29\.noarch" \(.*/basesystem-11-6\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Public key is not installed\.
^Transaction failed: Signature verification failed\.$
^OpenPGP check for package "basesystem-11-6\.fc29\.noarch" \(.*/basesystem-11-6\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Public key is not installed\.$
"""

Examples:
Expand All @@ -103,8 +103,8 @@ Scenario Outline: Fail to <offline> install signed package with incorrect checks
And RPMDB Transaction is empty
And stderr contains lines matching
"""
Transaction failed: Signature verification failed
PGP check for package "broken-package-0\.2\.4-1\.fc29\.noarch" \(.*/broken-package-0\.2\.4-1\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Problem occurred when opening the package\.
^Transaction failed: Signature verification failed\.$
^OpenPGP check for package "broken-package-0\.2\.4-1\.fc29\.noarch" \(.*/broken-package-0\.2\.4-1\.fc29\.noarch\.rpm\) from repo "dnf-ci-gpg" has failed: Problem occurred when opening the package\.$
"""

Examples:
Expand Down Expand Up @@ -141,8 +141,8 @@ Scenario Outline: Attempt to <offline> install unsigned package from repo with g
Then the exit code is 1
And stderr contains lines matching
"""
Transaction failed: Signature verification failed
PGP check for package "flac-1\.3\.2-8\.fc29\.x86_64" \(.*/flac-1\.3\.2-8\.fc29\.x86_64\.rpm\) from repo "dnf-ci-gpg" has failed: The package is not signed\.
^Transaction failed: Signature verification failed\.$
^OpenPGP check for package "flac-1\.3\.2-8\.fc29\.x86_64" \(.*/flac-1\.3\.2-8\.fc29\.x86_64\.rpm\) from repo "dnf-ci-gpg" has failed: The package is not signed\.$
"""

Examples:
Expand Down

0 comments on commit 67601ca

Please sign in to comment.