vwxyzjn / portwarden

Create Encrypted Backups of Your Bitwarden Vault with Attachments
MIT License
577 stars 33 forks source link

Get BW_SESSION from environment if possible #44

Open handsomecheung opened 3 months ago

handsomecheung commented 3 months ago

Portwarden gets bw session always by user inputing master password. It works fine but is not possible to export items automatically by scirpts.

I change the process of getting bw session. First check bw status. If already unlock, get bw session from environment directly instead of requiring master password.