Skip to content

Conversation

@Al2Klimov
Copy link
Member

Compare icinga_host.api_key ("known_string") via hash_equals().

Explicitly requested by @raviks789 in #2968 (comment).

Compare icinga_host.api_key ("known_string") via hash_equals().
Copy link
Collaborator

@raviks789 raviks789 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lippserd
Copy link
Member

@raviks789 Please feel free to merge.

@lippserd lippserd added this to the v1.11.6 milestone Jan 16, 2026
Copy link
Member Author

@Al2Klimov Al2Klimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still works perfectly:

[root@ak-fedora director]# grep 'Windows NT' /var/log/httpd/access_log |grep 16/Jan/2026
10.27.1.23 - - [16/Jan/2026:16:29:18 +0000] "POST /icingaweb2/director/self-service/powershell-parameters?key=f23ace7f43e6322c1d574cced52d16008f1ea20b HTTP/1.1" 200 478 "-" "Mozilla/5.0 (Windows NT; Windows NT 6.3; en-US) WindowsPowerShell/4.0"
10.27.1.23 - - [16/Jan/2026:16:29:20 +0000] "POST /icingaweb2/director/self-service/register-host?name=akws12f&key=f23ace7f43e6322c1d574cced52d16008f1ea20b HTTP/1.1" 200 43 "-" "Mozilla/5.0 (Windows NT; Windows NT 6.3; en-US) WindowsPowerShell/4.0"
10.27.1.23 - - [16/Jan/2026:16:29:20 +0000] "POST /icingaweb2/director/self-service/powershell-parameters?key=eba5da316dcbff2f974af5d005ffc4aebac08363 HTTP/1.1" 200 779 "-" "Mozilla/5.0 (Windows NT; Windows NT 6.3; en-US) WindowsPowerShell/4.0"
10.27.1.23 - - [16/Jan/2026:16:29:20 +0000] "POST /icingaweb2/director/self-service/ticket?key=eba5da316dcbff2f974af5d005ffc4aebac08363 HTTP/1.1" 200 43 "-" "Mozilla/5.0 (Windows NT; Windows NT 6.3; en-US) WindowsPowerShell/4.0"
[root@ak-fedora director]#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants