doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
611 stars 84 forks source link

[Feature request] Show type of custom field #67

Open fdw opened 2 years ago

fdw commented 2 years ago

In Bitwarden, a custom field on an entry can have one of three types: text, hidden and boolean. Can rbw get --full maybe also return this type?

fdw commented 2 years ago

So, I have been playing with this, but II'm very new to Rust, and so I need some help to implement this. Would that still be okay for you?

Currently, I'm stuck because the synced data does not contain the type of the field, even though it should be there. I also couldn't find a documentation about Bitwarden's sync API. Do you have any pointers?

fdw commented 2 years ago

I did make some progress 🎉

The next question would be: How to display the field type? Do you have any good idea?

fdw commented 2 years ago

Hi @doy, I just wanted to bump this 🙈 Do you have any preference how to display the field type?

fdw commented 1 year ago

Is this still something you're interested in? Can we also get the type into --raw?

therealchfkch commented 3 months ago

Hello @fdw and @doy, i am building a bitwarden linux mobile client and using rbw as a backend. I also would like to have the type of the custom field since i need to hide it in case of "hidden". Is there anything i can help out with? I have analyzed a good portion of rbw already, so i might be able to help with the implementation. Otherwise i would start from scratch. I have seen there is already https://github.com/doy/rbw/pull/89 is this still up to date?

Link to the app: https://codeberg.org/Chfkch/bitritter

fdw commented 2 months ago

No, #89 is not up to date; it's a bit more than two years old. If I find time, I can maybe update it, unless you want to.

therealchfkch commented 2 months ago

@fdw i do not have much time until July/August, so if you want to finish it before, go ahead. Otherwise i might pick you PR up and see if it can be ported to the latest version.