Sirish Bathina
1e98511c2e
feat(general): key derivation algorithm for cache encryption ( #3799 )
...
Add an option to select the password-based key derivation algorithm
for the local cache encryption key when connecting to a kopia
repository server.
2024-04-25 17:45:12 -07:00
Sirish Bathina
02463ab118
feat(general): user profile hashing version to algorithm translation ( #3816 )
...
Reverts to using the `PasswordHashVersion` in the user profile.
Adds a simple mechanism for translating between password hash
version and the corresponding password hashing algorithm (key
derivation algorithm).
2024-04-24 17:50:26 -07:00
Julio López
17c3a8d4de
refactor(general): include parameters in pbkdf2 instantiation ( #3811 )
...
Use `pbkdf2-sha256-600000` as the name to be consistent with the scrypt
instantiation.
The format is `pbkdf2-<hash_type>-<number_of_iterations>`
2024-04-19 15:50:45 -07:00
Julio López
ff9f6a8325
refactor(general): change default number of iterations for PBKDF2 ( #3810 )
...
Use the value recommended by NIST
2024-04-19 15:27:38 -07:00
Sirish Bathina
5fa39fe5eb
feat(general): User_profile_add_set cli changes ( #3770 )
...
* User profile add set cli changes
* Add additional test
* get salt length from key deriver
* Fixes for failing tests
* after shikhars review
* lint fixes
2024-04-10 17:56:13 -07:00
Jarek Kowalski
7278f570e2
chore(ci): upgraded linter to 1.57.1 ( #3753 )
2024-03-25 22:20:38 -07:00
Sirish Bathina
4ea6cf98d1
update min salt size to 16 ( #3732 )
2024-03-13 15:02:33 -07:00
Sirish Bathina
ddcdfdb55a
changes for switching key derivation ( #3725 )
2024-03-13 00:34:46 +00:00
PhracturedBlue
e653ec0a02
refactor(repository): Move encryption into a common package in preparation to handle secrets ( #3351 )
2023-09-24 17:44:50 -07:00