generate pairing token for new secrets

This commit is contained in:
Andrea Franz 2019-03-19 15:11:39 +01:00
parent bae6af1f29
commit 82fd80e88b
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,7 @@ func NewSecrets(pin, puk, pairingPass string) *Secrets {
pin: pin,
puk: puk,
pairingPass: pairingPass,
pairingToken: generatePairingToken(pairingPass),
}
}