aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw-agent
Commit message (Collapse)AuthorAgeFilesLines
* improve error message for unsupported 2fa typesHEAD1.10.2mainJesse Luehrs13 days1-1/+3
|
* switch from nix to rustixJesse Luehrs2024-04-212-6/+4
|
* clippyJesse Luehrs2024-04-202-7/+1
|
* bump depsJesse Luehrs2024-04-201-16/+10
|
* Make directories when not daemonizedWim de With2024-01-232-2/+2
|
* clippy and fmtJesse Luehrs2024-01-012-3/+3
|
* fix: cargo fmtarcstur2023-09-031-21/+10
|
* 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
* 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-181-7/+6
|
* make clipboard manipulation happen from the agentJesse Luehrs2023-07-182-25/+55
| | | | | | | | | 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.
* clippy and fmtJesse Luehrs2023-07-163-43/+36
|
* Merge pull request #123 from troyready/yubikeyJesse Luehrs2023-07-161-0/+1
|\ | | | | add yubikey support
| * add yubikey supporttroyready2023-06-171-0/+1
| | | | | | | | | | 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
|/
* sync the db every hour, like other bitwarden clientsJesse Luehrs2023-03-252-9/+35
|
* stop using tokio::select!Jesse Luehrs2023-03-253-54/+106
|
* clippy, fmt, etcJesse Luehrs2023-03-251-6/+21
|
* Undo change to iterations error messageBernd Schoolmann2023-03-261-1/+1
|
* Switch kdf type to enumBernd Schoolmann2023-03-261-2/+3
|
* Implement argon2 kdfBernd Schoolmann2023-03-261-3/+41
|
* Add support for 2FA-method 'Email'.René 'Necoro' Neumann2023-03-191-33/+38
| | | | | | | | | 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.
* bump depsJesse Luehrs2023-03-091-13/+18
|
* more clippy cleanupsJesse Luehrs2023-02-182-2/+1
|
* bump editionsJesse Luehrs2023-02-181-1/+1
|
* stop warning on multiple crate versions in clippyJesse Luehrs2023-02-181-0/+1
| | | | | cargo deny already checks this, and clippy is giving warnings about duplicate windows deps that i don't care about
* clippyJesse Luehrs2023-02-184-48/+39
|
* Support multiple profiles with an environment variableSkia2022-11-071-1/+1
| | | | | | | | | | | | This introduces the `RBW_PROFILE` environment variable to be able to run multiple instances in parallel, that will use different configuration paths. To use this feature, simply run `rbw` with the environment variable set to any string that is valid for a path. Setting it to an empty string is like not setting it at all. e.g.: * `RBW_PROFILE=perso rbw list` * `RBW_PROFILE=pro rbw list`
* clippyJesse Luehrs2021-12-154-40/+37
|
* don't grab the keyboard when entering the api keyJesse Luehrs2021-10-271-0/+5
| | | | | unlike the vault password, it's pretty unlikely that someone will be entering the api key by hand, so make copy/paste more reasonable
* fix pinentry displayJesse Luehrs2021-10-271-2/+2
|
* add a separate "register" command to log in with api keysJesse Luehrs2021-10-272-217/+158
|
* start working on apikey authenticationJesse Luehrs2021-10-272-78/+225
| | | | | | | | | | 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
* remove unused valueJesse Luehrs2021-10-271-8/+1
|
* clippyJesse Luehrs2021-10-272-12/+7
|
* disable PTRACE_ATTACH after daemonizingJesse Luehrs2021-03-061-4/+4
| | | | this should let warnings go to the agent logs instead of the terminal
* only warn if disabling PTRACE_ATTACH failsJesse Luehrs2021-03-052-3/+6
|
* upgrade to tokio 1.2Jesse Luehrs2021-03-021-9/+9
|
* make the pinentry program configurableJesse Luehrs2021-03-021-0/+8
|
* refactor a bitJesse Luehrs2021-02-272-19/+25
|