Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

feat: encrypted identities by default #22

Draft
wants to merge 4 commits into
base: spofford/k256
Choose a base branch
from

Conversation

adamspofford-dfinity
Copy link
Contributor

Per FOLLOW-728, quill currently stores sensitive data to disk as plaintext. This PR makes identities password-protected by default, using pkcs8's built-in scrypt encryption mechanism. It additionally stops storing seed phrases in txt files unless the user explicitly requests it, stops using seed phrases as a primary key at all, overhauls the internal representation of keys to be ic-agent identities instead of pem files (to facilitate only decrypting once per command) and fixes a few other things I found along the way like file paths being stored as strings.

@adamspofford-dfinity adamspofford-dfinity changed the base branch from master to spofford/k256 September 16, 2022 20:10
@adamspofford-dfinity adamspofford-dfinity marked this pull request as draft September 16, 2022 20:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant