mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feature: ephemeral private key (do not store private key on disk) #196
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.
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:
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.
@ItalyPaleAle commented on GitHub:
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:
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.