mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🚀 Feature: ephemeral private key (do not store private key on disk) #304
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ItalyPaleAle on GitHub (May 28, 2025).
Feature description
Instead of saving the private key to disk, Pocket ID could optionally generate a key when it starts up and keep it in-memory only. This would be optional.
Pros:
Cons:
Pitch
This is another relatively simple feature to implement that helps protecting the "keys to the kingdom". It may not be suitable for all scenarios, but many users who run Pocket ID in their homelab would likely have minimal to no impact when using this.
@kmendell commented on GitHub (May 28, 2025):
I think the encryption idea makes sense, but this would introduce a point of failure and may just cause confusion for people if they are not the best at troubelshooting as well.
@ItalyPaleAle commented on GitHub (May 28, 2025):
Why would it be a point of failure?
Agree it can be confusing. I am thinking this should be optional for this reason.
@kmendell commented on GitHub (May 29, 2025):
Im closing this as we can just track it in https://github.com/pocket-id/pocket-id/issues/580, since its seems like it can be part of that.