fix incorrect logic in rotateSequence

This was introduced in the previous few commits when adding support for multiple secrets in knockd.  The logic to push and pop entries from the knockSequences slice needed to be adjusted to cound for the number of secrets that are loaded by hypd.
This commit is contained in:
2024-04-20 13:27:00 -06:00
parent 1e195c3768
commit a52f3f0d43
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ hyp.secret
*.exe
hypd/hypd
hyp/hyp
hypd/hypdconfig.json
hypd/hypdconfig.json
hypd/secrets/