Lprs clear the custom vaults file #59

Closed
opened 2024-06-28 18:07:54 +02:00 by awiteb · 0 comments
Owner

Description

Lprs clear the given custom vaults file

Expected behavior

lprs -f secret list

List the vaults in the secret file

Actual behavior

Lprs deletes all the vaults!!

Why?

Lprs creates the path even if it exists, thus causing the file to be cleaned up.

https://git.4rs.nl/awiteb/lprs/src/branch/master/src/cli/mod.rs#L129

## Description Lprs clear the given custom vaults file ## Expected behavior ```sh lprs -f secret list ``` List the vaults in the secret file ## Actual behavior Lprs deletes all the vaults!! ### Why? Lprs creates the path even if it exists, thus causing the file to be cleaned up. https://git.4rs.nl/awiteb/lprs/src/branch/master/src/cli/mod.rs#L129
awiteb added the
Kind/Bug
Reviewed
Confirmed
labels 2024-06-28 18:07:54 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: awiteb/lprs#59
No description provided.