Skip to content

Commit be302d9

Browse files
committed
apt: ensure RSA signing key is refreshed instead of old DSA key
Upstream has an older dsa1024 signing key and a more recent rsa4096 signing key in place which is used for new releases. While both keys are provided via the same source URL, existing systems installed before the RSA key was added would never fetch that key, as the DSA key never expires and only that is refreshed via Puppet. Ensuring the RSA key is refreshed instead of the DSA key ensures that both keys are present and that the RSA key is added also for existing systems.
1 parent 219520d commit be302d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/apt.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
location => $repo_base,
1717
key => {
1818
ensure => refreshed,
19-
id => '70B9890488208E315ED45208230D389D8AE45CE7',
19+
id => 'FD80468D49B3B24C341741FC8CE0A76C497EA957',
2020
source => $repo_gpgkey,
2121
},
2222
repos => 'main',

spec/classes/init_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
else
308308
it {
309309
is_expected.to contain_apt__source('cvmfs').with_key(
310-
{ 'ensure' => 'refreshed', 'id' => '70B9890488208E315ED45208230D389D8AE45CE7', 'source' => 'http://example.org/key.gpg' }
310+
{ 'ensure' => 'refreshed', 'id' => 'FD80468D49B3B24C341741FC8CE0A76C497EA957', 'source' => 'http://example.org/key.gpg' }
311311
)
312312
}
313313
end

0 commit comments

Comments
 (0)