fix: operator id fetching on scripts
This commit is contained in:
parent
07f4bdfb66
commit
0fd0d21599
3 changed files with 13 additions and 12 deletions
4
bin/hkdf
4
bin/hkdf
|
|
@ -13,5 +13,5 @@ if (process.argv.length !== 4) {
|
|||
process.exit(3)
|
||||
}
|
||||
|
||||
const masterSeed = new Buffer(masterSeedHex, 'hex')
|
||||
console.log(hkdf(masterSeed, 32, {salt: 'lamassu-server-salt', info: label}).toString('hex'))
|
||||
const masterSeed = Buffer.from(masterSeedHex, 'hex')
|
||||
console.log(hkdf(masterSeed, 32, { salt: 'lamassu-server-salt', info: label }).toString('hex'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue