From Fedora Project Wiki
(proof and make clearer. also, we can't refer directly to rpmfusion in the wiki) |
m (moved QA:TestCase ABRT GPG Keys to QA:Testcase ABRT GPG Keys: Renamed with proper QA:Testcase prefix) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
# Install a package which is signed, but not with an official Fedora project signature - such as a package from a popular third-party repository - and cause an application from the package to crash. | # Install a package which is signed, but not with an official Fedora project signature - such as a package from a popular third-party repository - and cause an application from the package to crash. | ||
# Add the GPG key with which the package is signed to the file {{filename|/etc/abrt/gpg_keys}}. Every separate key should be on a new line. | # Add the GPG key with which the package is signed to the file {{filename|/etc/abrt/gpg_keys}}. Every separate key should be on a new line. | ||
# Restart ABRT with the command {{command|su -c service abrtd restart}}. | # Restart ABRT with the command {{command|su -c 'service abrtd restart'}}. | ||
# Again cause the application to crash. | # Again cause the application to crash. | ||
|results= | |results= | ||
# The first crash should not be reported by ABRT. | # The first crash should not be reported by ABRT. | ||
# The second crash should be reported by ABRT. | # The second crash should be reported by ABRT. | ||
# The reporting to BZ will fail, as ABRT will try to report the crash to our BZ. | |||
}} | }} | ||
[[Category: | [[Category:Package_abrt_test_cases]] |
Latest revision as of 12:05, 9 May 2011
Description
This test case checks whether ABRT can GPG check using custom GPG keys. That means you can add trusted GPG keys used to sign packages from third-party repositories. See also QA:Testcase_abrt_GPG_check.
How to test
- Edit config file
/etc/abrt/abrt.conf
, and make sure OpenGPGCheck is set to yes. - Install a package which is signed, but not with an official Fedora project signature - such as a package from a popular third-party repository - and cause an application from the package to crash.
- Add the GPG key with which the package is signed to the file
/etc/abrt/gpg_keys
. Every separate key should be on a new line. - Restart ABRT with the command
su -c 'service abrtd restart'
. - Again cause the application to crash.
Expected Results
- The first crash should not be reported by ABRT.
- The second crash should be reported by ABRT.
- The reporting to BZ will fail, as ABRT will try to report the crash to our BZ.