mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🚀 Feature: support rotating encryption key #591
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 @Xboarder56 on GitHub (Jan 5, 2026).
Originally assigned to: @stonith404 on GitHub.
Feature description
I would like the ability to rotate the encryption key for pocket-id. Something like a command that could be run via ./pocket-id to support old / new key to support this or some method for the import/export command that was recently released.
Pitch
This could help for mistakes in a docker-compose setup (missing variable) or in the event the key is compromised it needs to be rotated.
I verified with import/export but was unable to get it to work successfully with an existing passkey authentication after performing the import/export after the container was started with the fresh key.