mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #2187] RSA keys changed from der to pem, now new vaultwarden can't read old RSA keys anymore #1181
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1181
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2187
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.