You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test/hasher_test.dart:BcryptHasher basic bcrypt hashing
test/hasher_test.dart:BcryptHasher bcrypt verification with argon2i hash throws
test/hasher_test.dart:ArgonHasher basic argon2i hashing
test/hasher_test.dart:Argon2IdHasher basic argon2id hashing
test/hash_manager_test.dart:HashManager isHashed returns true for hashed value
test/hash_manager_test.dart:HashManager make delegates to driver
test/hash_manager_test.dart:HashManager check delegates to driver
test/hash_manager_test.dart:HashManager needsRehash delegates to driver
test/hash_manager_test.dart:HashManager info delegates to driver
Reason for failure/description
All failing tests share the same root cause: a LateInitializationError for the '_WorkingKey' field. This error occurs in all three hashing implementations (Bcrypt, Argon2i, and Argon2id) and affects the HashManager tests that depend on these implementations.
Error messages consistently show:
LateInitializationError: Field '_WorkingKey@213300867' has not been initialized.
The error appears in three variants but with the same underlying cause:
"Bcrypt hashing not supported"
"Argon2i hashing not supported"
"Argon2id hashing not supported"
Is this a regression?
No
Media proof
Bad state: Bcrypt hashing not supported: LateInitializationError: Field '_WorkingKey@213300867' has not been initialized.
package:platform_hashing/src/bcrypt_hasher.dart 41:7 BcryptHasher.make
Bad state: Argon2i hashing not supported: LateInitializationError: Field '_WorkingKey@213300867' has not been initialized.
package:platform_hashing/src/argon_hasher.dart 57:7 ArgonHasher.make
Bad state: Argon2id hashing not supported: LateInitializationError: Field '_WorkingKey@213300867' has not been initialized.
package:platform_hashing/src/argon2id_hasher.dart 34:7 Argon2IdHasher.make
Additional context
Additional context:
Location: packages/hashing/
The issue appears to be in the initialization of the hashing implementations
The '_WorkingKey' field is marked as late but never initialized before use
This affects all hashing algorithms (Bcrypt, Argon2i, Argon2id)
The error propagates up to the HashManager level, causing failures in higher-level tests
Select package
Auth
Which jobs/test(s) are failing
test/hasher_test.dart:BcryptHasher basic bcrypt hashing
test/hasher_test.dart:BcryptHasher bcrypt verification with argon2i hash throws
test/hasher_test.dart:ArgonHasher basic argon2i hashing
test/hasher_test.dart:Argon2IdHasher basic argon2id hashing
test/hash_manager_test.dart:HashManager isHashed returns true for hashed value
test/hash_manager_test.dart:HashManager make delegates to driver
test/hash_manager_test.dart:HashManager check delegates to driver
test/hash_manager_test.dart:HashManager needsRehash delegates to driver
test/hash_manager_test.dart:HashManager info delegates to driver
Reason for failure/description
All failing tests share the same root cause: a LateInitializationError for the '_WorkingKey' field. This error occurs in all three hashing implementations (Bcrypt, Argon2i, and Argon2id) and affects the HashManager tests that depend on these implementations.
Error messages consistently show:
LateInitializationError: Field '_WorkingKey@213300867' has not been initialized.
The error appears in three variants but with the same underlying cause:
"Bcrypt hashing not supported"
"Argon2i hashing not supported"
"Argon2id hashing not supported"
Is this a regression?
No
Media proof
Additional context
Additional context:
- src/bcrypt_hasher.dart
- src/argon_hasher.dart
- src/argon2id_hasher.dart
- src/hash_manager.dart
The text was updated successfully, but these errors were encountered: