mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
RSA keys changed from der to pem, now new vaultwarden can't read old RSA keys anymore #1178
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 @eriklogtenberg on GitHub (Dec 29, 2021).
Subject of the issue
After upgrade from Vaultwarden 1.21.0 to 1.23.1, server is unable to start. Error message is:
"[vaultwarden][ERROR] Error creating keys, exiting..."
Tracked it down to this commit:
46e0f3c43a, where the default RSA key format (and filename) is changed from DER to PEM. It seems that as a result, the existing DER files can no longer be found.What is the correct upgrade path?
Deployment environment
@BlackDex commented on GitHub (Dec 29, 2021):
It shouldn't be an issue, at all. But you may just remove all those files and new ones will be generated.
It will only only hurt current sessions and invite links which use those files.