aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
Commit message (Collapse)AuthorAgeFilesLines
* add a useful error message if registration is requiredJesse Luehrs2021-10-271-0/+3
|
* add a separate "register" command to log in with api keysJesse Luehrs2021-10-271-42/+49
|
* use a persistent device idJesse Luehrs2021-10-271-3/+2
|
* start working on apikey authenticationJesse Luehrs2021-10-271-15/+54
| | | | | | | | | | not entirely working yet, because api keys aren't allowed to use the offline_access scope which provides access to the oauth refresh token. we will probably need to move to using stable device identifiers (should be able to generate one when the config is first created) and move this logic to a separate "rbw register" command which just does an apikey login but doesn't try to store any data, and then use the normal login flow after that
* add the auth-email header when authenticatingJesse Luehrs2021-10-271-0/+4
| | | | | required by new version of the official bitwarden server, see https://github.com/bitwarden/jslib/pull/394
* clippyJesse Luehrs2021-10-271-1/+1
|
* clippyJesse Luehrs2021-07-051-1/+1
|
* TwoFactorProviderType: Allow WebAuthnSarah Brofeldt2021-05-311-0/+3
| | | | | Only allows deserialization for the new provider. See https://github.com/bitwarden/server/pull/903
* Don't choke on empty passwords in the historyLionel Flandrin2021-04-011-4/+8
| | | | Fixes #50
* switch to thiserrorJesse Luehrs2021-03-061-10/+10
|
* persist uri match type when editingJesse Luehrs2021-02-211-3/+47
|
* clippyJesse Luehrs2021-02-191-1/+1
|
* allow TwoFactorType to be provided as an integer or stringJesse Luehrs2020-12-021-14/+67
| | | | | bitwarden-rs still provides it as an integer, but bitwarden.com now provides it as a string
* use a better device name when logging inJesse Luehrs2020-10-131-1/+1
|
* clippyJesse Luehrs2020-10-121-3/+3
|
* do not display deleted itemsEmmanuel Garette2020-10-121-0/+5
|
* add totp, uris, and custom fields to --full outputJesse Luehrs2020-07-251-0/+31
|
* clippyJesse Luehrs2020-07-111-1/+1
|
* display the server's error message for incorrect passwordJesse Luehrs2020-05-281-19/+22
|
* add authenticator 2fa supportJesse Luehrs2020-05-281-4/+56
|
* parse login error correctlyJesse Luehrs2020-05-271-9/+45
|
* handle uri entries with no uri setJesse Luehrs2020-05-241-4/+12
| | | | | | apparently this can happen if you create the uri entry but then delete the contents of the uri afterward? probably also in other edge case scenarios
* better error messages when parsing a server messageJesse Luehrs2020-05-231-14/+12
|
* don't expect the refresh token response to have a keyJesse Luehrs2020-05-171-2/+0
| | | | the official server doesn't do this, and i don't use it anyway
* maintain folder and uris when editing an entryJesse Luehrs2020-05-031-7/+34
|
* fix editing organization entriesJesse Luehrs2020-05-031-0/+4
|
* start adding support for different entry typesJesse Luehrs2020-05-031-67/+306
|
* remove some old debuggingJesse Luehrs2020-05-031-6/+3
|
* also store org keys in the local dbJesse Luehrs2020-05-031-1/+23
|
* save the private key to the local dbJesse Luehrs2020-05-031-2/+8
|
* save org id in the sync dbJesse Luehrs2020-05-021-0/+3
|
* add folder as an option for list fieldsJesse Luehrs2020-04-201-2/+30
|
* only handle login entries for nowJesse Luehrs2020-04-191-20/+25
|
* implement adding into a folderJesse Luehrs2020-04-191-0/+82
|
* allow creating entries with associated urisJesse Luehrs2020-04-191-0/+11
|
* more model cleanupJesse Luehrs2020-04-191-12/+0
|
* clean up api model structsJesse Luehrs2020-04-191-112/+61
|
* track password historyJesse Luehrs2020-04-191-0/+40
|
* these fields don't need to be public anymoreJesse Luehrs2020-04-191-6/+6
|
* better error messages for incorrect passwordsJesse Luehrs2020-04-181-7/+32
|
* implement edit commandJesse Luehrs2020-04-181-0/+54
|
* implement removeJesse Luehrs2020-04-181-0/+19
|
* stop using the api cipher struct publiclyJesse Luehrs2020-04-181-11/+36
|
* refactorJesse Luehrs2020-04-181-2/+2
|
* support adding entries with notesJesse Luehrs2020-04-181-7/+4
|
* implement add commandJesse Luehrs2020-04-181-1/+132
|
* implement refresh token handlingJesse Luehrs2020-04-121-6/+54
|
* handle entries with no username or passwordJesse Luehrs2020-04-121-2/+2
|
* move some basic stuff into configJesse Luehrs2020-04-101-23/+7
|
* mlock sensitive memoryJesse Luehrs2020-04-081-2/+2
|