TT#76668 Add goss check for absence of old dsa1024 sipwise apt key

Also check that there are no expired keys
The key was used to sign repos for old unsupported releases.

Change-Id: Ia5dd91c4d8b2e54f4fc18626ef3968c95265bdf6
changes/30/38630/2
Sergii Kipot 5 years ago
parent b498501c61
commit d82528c9c9

@ -0,0 +1,13 @@
command:
apt-key list 2>&1 | grep -q expired:
exit-status: 1
stdout: []
stderr: []
timeout: 10000
apt-key list --with-colons | grep '^pub' | cut -d':' -f 5 | egrep -o '.{8}$':
exit-status: 0
stdout:
- "!A42C4F2A"
stderr: []
timeout: 10000

@ -9,6 +9,7 @@ gossfile:
132_filesys-ngcp-templates.yaml: {}
133_filesys-deprecated.yaml: {}
134_filesys-voisniff.yaml: {}
140_apt-keys.yaml: {}
200_user-debian.yaml: {}
210_user-ngcp.yaml: {}
310_package-ngcp.yaml: {}

Loading…
Cancel
Save