-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename references to "PIN" to "passphrase" #113
Comments
Given that we need to abstract over things in one way or another in crypt.go. We can probably start there by renaming "PIN" to "UserPassphrase" in that context. Renaming PIN in the context of the TPM specific code is more involved, there's even a file called pin.go atm. |
…* funcs Also rename PIN in its definition to UserPassprase to move toward better and also more abstract naming. Same in the corresponding RecoveryKeyUsageReason code. Se also issue #113
Closing this one now given that secboot is going to be treating PINs and passphrases as separate user authentication mechanisms, so both terms will exist but refer to different things. The repo today supports passphrases. #289 will introduce PINs, once it's rebased and has tests. |
The PIN can be an arbitrary passphrase - nowhere is it enforced that it is actually a PIN. Whilst consumers of this package could enforce this, we don't and so references to "PIN" should just be renamed to "passphrase" everywhere it appears.
The text was updated successfully, but these errors were encountered: