mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
slice privateKey to the first 6 characters on logging
This commit is contained in:
parent
dc7ca5a5a6
commit
b0c91b68e4
@ -48,7 +48,7 @@ export const startDHT = async (topic: string): Promise<void> => {
|
||||
) as KeyPair
|
||||
const pubKeyString = keyPair.publicKey.toString('hex')
|
||||
logger.info(`keyPairDHT: publicKey=${pubKeyString}`)
|
||||
logger.debug(`keyPairDHT: secretKey=${keyPair.secretKey.toString('hex')}`)
|
||||
logger.debug(`keyPairDHT: secretKey=${keyPair.secretKey.toString('hex').slice(0, 6)}`)
|
||||
await writeHomeCommunityEntry(keyPair)
|
||||
|
||||
const ownApiVersions = await writeFederatedHomeCommunityEntries(pubKeyString)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user