This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Keychain options #1139
Closed
Description
The default keychain options should be in config
under Keychain
.
const defaultOptions = {
// See https://cryptosense.com/parametesr-choice-for-pbkdf2/
dek: {
keyLength: 512 / 8,
iterationCount: 10000,
salt: 'you should override this value with a crypto secure random number',
hash: 'sha512'
}
}
-
ipfs init
should generate a random salt and add to config - during startup, these value should be used to construct the keychain
Metadata
Metadata
Assignees
Labels
No labels