Readme suggestion explaining private key a little more
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 75/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- swift
- Domain
- documentation, security
Research direction
Review the README's explanation of the private key generated for the Secure Enclave, starting with the existing private-key section. Clarify that the file references key material held in the chip, explain the loss-of-machine recovery risk, and mention encrypting long-term data to an alternate backup key.
Written by the indexing model from the issue text.
Description
I wasn't entirely sure reading the README if my understanding about the private key generated here was correct.
The private key generated by this plugin has almost no value to an attacker without the original machine, and the biometrics to authenticate with the Secure Enclave. (Thus the whole point of using the Secure Enclave)
(This is very different to a typical private key, at least without a passphrase)
That wasn't clear from the README (to me)
I engaged an LLM to come up with some text that might be more helpful to newcomers (like me) to this project:
The private key file does not contain actual key material — it is a reference (encoding the public key and access control settings) that tells the plugin which key to use inside the Secure Enclave chip. The real cryptographic key never leaves the chip. This means the file is useless without the specific machine it was generated on, but it also means that if that machine is ever lost, stolen, or damaged, any data encrypted only to this key will be permanently inaccessible. Make sure to also encrypt long-term data to an alternate backup key.
I don't know if it is useful for you, but this would have been fantastic for me to read in the README.
Thank you for writing this plugin, it is so useful!!
Cameron
- Dominant language
- Swift
- Stars
- 251
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from remko/age-plugin-se
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
remko/age-plugin-se#14 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
remko/age-plugin-se#24 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
remko/age-plugin-se#12 · 13 comments ·
All issues in remko/age-plugin-se
Similar issues
-
type: docs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
googleapis/google-cloud-swift#971 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla-mobile/firefox-ios#35743 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
manaflow-ai/cmux#13417 ·
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ionic-team/capacitor#8616 ·