Fix for RSA Keys which are read only #1050

Closed
opened 2026-04-06 01:34:11 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 7/14/2024

Sometimes an RSA Key file could be read only.
We currently failed because we also wanted to write. Added an extra check if the file exists already and is not 0 in size. If it does already exists and is larger then 0, then open in read only mode.

Fixes #4644

*Originally created by @BlackDex on 7/14/2024* Sometimes an RSA Key file could be read only. We currently failed because we also wanted to write. Added an extra check if the file exists already and is not 0 in size. If it does already exists and is larger then 0, then open in read only mode. Fixes #4644
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1050