mvdan / bitw

Minimalist BitWarden client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to sync; wrong datatype for Cipher.Attachments

Omar007 opened this issue · comments

bitw sync fails for a database with attachments.

Currently, Cipher.Attachments is defined as a string array but this does not match with the actual format returned by Bitwarden.

The actual datatype returned is an array of Attachment objects. The object has the following properties:

FileName:string
Id:string
Key:string
Object:string
Size:string
SizeName:string
Url:string

Thanks for the report! I can have a look later this week, but feel free to beat me to it.