]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: usr: Fix algoritm rollover bug when there are two keys with the same keytag
authorMatthijs Mekking <matthijs@isc.org>
Thu, 22 Aug 2024 10:11:29 +0000 (10:11 +0000)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 22 Aug 2024 10:11:29 +0000 (10:11 +0000)
commit8dbd57116bfa4491b579b84edd4d09897fb02aab
treeaea10dea5800f08c29be5ddb3b8d6fbd03a94b16
parentb9bb0528f6eb0952298f3d19a6a0bb9d0af8e838
parentf37eb33f29ad50cead2673f4f7634839ef7e2a26
fix: usr: Fix algoritm rollover bug when there are two keys with the same keytag

If there is an algorithm rollover and two keys of different algorithm share the same keytags, then there is a possibility that if we check that a key matches a specific state, we are checking against the wrong key. This has been fixed by not only checking for matching key tag but also key algorithm.

Closes #4878

Merge branch '4878-fix-algorithm-rollover-keytag-conflict-bug' into 'main'

Closes #4878

See merge request isc-projects/bind9!9381