Skip to content

Replacing passphrase with biometry #3033

Answered by AnomalRoil
anjos asked this question in Q&A
Discussion options

You must be logged in to vote

It is true that we do support plugin recipients and identities since #2960, but we do not support using a plugin for decrypting our identity keyring file for the age backend...

I considered changing

// decryptFile is used to decrypt a scrypt encrypted age keyring/identity file.
func (a *Age) decryptFile(ctx context.Context, filename string) ([]byte, error) {
ciphertext, err := os.ReadFile(filename)
if err != nil {
return nil, err
}
debug.Log("read %d bytes from %s", len(ciphertext), filename)
pw, err := ctxutil.GetPasswordCallback(ctx)(filename, false)
if err != n…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@AnomalRoil
Comment options

Answer selected by anjos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants