aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix error messageJesse Luehrs2024-01-011-1/+1
|
* switch to is-terminalJesse Luehrs2024-01-011-1/+3
|
* clippy and fmtJesse Luehrs2024-01-017-49/+48
|
* Merge pull request #152 from Ironedde/fixing-eu-urlJesse Luehrs2024-01-011-3/+24
|\ | | | | Fix bitwarden.eu URLs
| * Fix bitwarden.eu URLsEdvin Åkerfeldt2023-12-211-3/+24
| | | | | | | | | | | | Bitwarden have introduced an eu instance of their service. This needs to be reflected in the code by excluding the eu addresses from URL formatting.
* | Merge pull request #151 from Ty3uK/bugfix/login-errorJesse Luehrs2024-01-011-0/+4
|\ \ | | | | | | Pass `User-Agent` header to prevent login from returning 400
| * | Pass `User-Agent` header to prevent login from returning 400Maksim Karelov2023-12-201-0/+4
| |/ | | | | | | Fixes #145
* | Merge pull request #140 from Mic92/no-failJesse Luehrs2024-01-011-0/+8
|\ \ | | | | | | handle eof correctly when reading from pinentry
| * | handle eof correctly when reading from pinentryJörg Thalheim2023-09-231-0/+8
| |/ | | | | | | | | Just now rbw-agent will spin at 200% cores if pinentry fails, which can have various reasons. Now it will just terminate correctly when this happens.
* | Merge pull request #138 from soraxas/feat-edit-from-stdinJesse Luehrs2024-01-012-0/+13
|\ \ | | | | | | Implements ability to edit from taking piped inputs
| * | implements ability to edit from taking piped inputsTin Lai2023-09-212-0/+13
| |/ | | | | | | Signed-off-by: Tin Lai <oscar@tinyiu.com>
* | Merge pull request #137 from soraxas/feat-edit-noteJesse Luehrs2024-01-012-4/+35
|\ \ | | | | | | Implements ability to edit notes
| * | implements ability to edit notesTin Lai2023-09-212-4/+35
| |/ | | | | | | Signed-off-by: Tin Lai <oscar@tinyiu.com>
* | fix: cargo fmtarcstur2023-09-031-21/+10
| |
* | fix: clippy warning on single_match_elsearcstur2023-09-031-1/+1
|/ | | | | | It seems this is a `single_match_else` and not a `single_match`. Now clippy shows no warnings.
* make display_field more consistentJesse Luehrs2023-08-131-93/+108
| | | | | fix an unnecessary unwrap, and ensure that all field accesses don't display a description and correctly copy to clipboard
* clippyJesse Luehrs2023-07-291-0/+2
|
* clippyJesse Luehrs2023-07-201-10/+16
|
* Fallback to the nop clipboard provider.Benjamin Jacobs2023-07-202-5/+15
|
* more correct websocket notification handlingJesse Luehrs2023-07-192-106/+91
| | | | | | | | | | the servers tend to be fairly chatty with messages, mostly pings and heartbeats of various sorts, and we don't want to sync on all of those. also, the message type in the first array element of the messagepack structure is not the same thing as the UpdateType - that is stored as an argument to the ReceiveMessage invocation, so we need to parse a bit further to get the actual UpdateType. this still just does a full sync on any changes, though.
* reconnect to websockets after every successful syncJesse Luehrs2023-07-182-28/+11
| | | | rather than scattering it around various parts of the code
* clippyJesse Luehrs2023-07-181-1/+1
|
* fix not being able to set notifications_urlJesse Luehrs2023-07-181-0/+4
|
* stop trying to reconnect to notifications so aggressively1.8.0Jesse Luehrs2023-07-182-26/+23
| | | | it adds a bunch of latency to every command otherwise
* fix websockets for self-hosted bitwardenJesse Luehrs2023-07-182-7/+18
|
* make clipboard manipulation happen from the agentJesse Luehrs2023-07-185-33/+66
| | | | | | | | | on x11 systems, you can't just send data to the os to store on the clipboard, you just register which application currently owns the clipboard and then other applications can use ipc to request the owning application to send them the clipboard data. this requires there to be an application still running in order to respond to those requests. luckily, we have one of those available in the form of the agent.
* tweak some messagesJesse Luehrs2023-07-181-7/+4
|
* improve error reporting when login or register failJesse Luehrs2023-07-181-2/+26
|
* remove unnecessary lineJesse Luehrs2023-07-181-2/+0
|
* clippy and fmtJesse Luehrs2023-07-165-71/+46
|
* Merge branch 'main' into result-to-clipboardJesse Luehrs2023-07-165-3/+290
|\
| * Merge pull request #123 from troyready/yubikeyJesse Luehrs2023-07-162-0/+3
| |\ | | | | | | add yubikey support
| | * add yubikey supporttroyready2023-06-172-0/+3
| | | | | | | | | | | | | | | This is all that's needed to support Yubikey hardware tokens in OTP mode (https://developers.yubico.com/OTP/)
| * | Cargo format and reconnect websocket on syncBernd Schoolmann2023-04-274-67/+148
| | |
| * | Improve error logging for websocketsBernd Schoolmann2023-04-273-4/+13
| | |
| * | Improve websocket disconnect handlingBernd Schoolmann2023-04-171-1/+3
| | |
| * | Fix panic when websocket endpoint is not availableBernd Schoolmann2023-04-172-3/+3
| | |
| * | Improve error handlingBernd Schoolmann2023-04-172-17/+24
| | |
| * | Restructure codeBernd Schoolmann2023-04-163-129/+136
| | |
| * | Implement basic websocket supportBernd Schoolmann2023-04-083-0/+178
| |/
* / rbw get add flag --clipboard to copy result to clipboardeatradish2023-06-162-66/+157
|/
* Fix argon2 loginBernd Schoolmann2023-03-271-3/+1
|
* sync the db every hour, like other bitwarden clientsJesse Luehrs2023-03-254-9/+49
|
* stop using tokio::select!Jesse Luehrs2023-03-253-54/+106
|
* clippy, fmt, etcJesse Luehrs2023-03-256-133/+193
|
* Switch argon2 implementation to rustcryptoBernd Schoolmann2023-03-261-17/+13
|
* Undo change to iterations error messageBernd Schoolmann2023-03-261-1/+1
|
* Switch kdf type to enumBernd Schoolmann2023-03-265-16/+105
|
* Implement argon2 kdfBernd Schoolmann2023-03-266-17/+110
|
* Add support for 2FA-method 'Email'.René 'Necoro' Neumann2023-03-192-33/+63
| | | | | | | | | Generalize the `two_factor` function to allow for different Providers. The `login` function now holds a list of supported providers that it tests in turn. The list should probably adhere to https://bitwarden.com/help/setup-two-step-login/#using-multiple-methods. Closes #90.