Skip to content

:white_check_mark: Add tests for HashedPassword and key cache

2d510ae
Select commit
Loading
Failed to load commit list.
Draft

Lib/add hashed password #2932

:white_check_mark: Add tests for HashedPassword and key cache
2d510ae
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Apr 27, 2026 in 2s

16 new alerts including 13 critical severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 13 critical
  • 3 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 25 in lib/src/entry/key_cache.rs

See this annotation in the file changed.

Code scanning / CodeQL

Cleartext logging of sensitive information High

This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.

Check failure on line 27 in lib/src/entry/key_cache.rs

See this annotation in the file changed.

Code scanning / CodeQL

Cleartext logging of sensitive information High

This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.

Check failure on line 40 in lib/src/entry/key_cache.rs

See this annotation in the file changed.

Code scanning / CodeQL

Cleartext logging of sensitive information High

This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password::<...>(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.
This operation writes
...::with_password(...)
to a log file.

Check failure on line 983 in lib/src/entry/options.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 995 in lib/src/entry/options.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 1008 in lib/src/entry/options.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 176 in lib/src/hash.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 183 in lib/src/hash.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 190 in lib/src/hash.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical

This hard-coded value is used as
a password
.

Check failure on line 6 in lib/tests/hashed_password.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 71 in lib/tests/hashed_password.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 102 in lib/tests/hashed_password.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 134 in lib/tests/hashed_password.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 165 in lib/tests/hashed_password.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 5 in lib/tests/security.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.

Check failure on line 20 in lib/tests/security.rs

See this annotation in the file changed.

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a password
.