Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | disable PTRACE_ATTACH after daemonizing | Jesse Luehrs | 2021-03-06 | 1 | -4/+4 |
| | | | | this should let warnings go to the agent logs instead of the terminal | ||||
* | only warn if disabling PTRACE_ATTACH fails | Jesse Luehrs | 2021-03-05 | 2 | -3/+6 |
| | |||||
* | upgrade to tokio 1.2 | Jesse Luehrs | 2021-03-02 | 1 | -9/+9 |
| | |||||
* | make the pinentry program configurable | Jesse Luehrs | 2021-03-02 | 1 | -0/+8 |
| | |||||
* | refactor a bit | Jesse Luehrs | 2021-02-27 | 2 | -19/+25 |
| | |||||
* | Use prctl on Linux to prevent PTRACE_ATTACH | Jarkko Oranen | 2021-02-27 | 1 | -0/+19 |
| | | | | | | This offers some protection against other user processes attempting to read rbw-agent's memory. Unfortunately, I don't have other platforms to test on, so the implementation is only for Linux. | ||||
* | bump deps | Jesse Luehrs | 2021-02-19 | 1 | -1/+1 |
| | |||||
* | implement rbw unlocked | Jesse Luehrs | 2020-07-25 | 2 | -0/+23 |
| | |||||
* | display the server's error message for incorrect password | Jesse Luehrs | 2020-05-28 | 1 | -15/+42 |
| | |||||
* | properly handle empty string from pinentry | Jesse Luehrs | 2020-05-28 | 1 | -1/+3 |
| | |||||
* | add authenticator 2fa support | Jesse Luehrs | 2020-05-28 | 2 | -49/+175 |
| | |||||
* | remove more unnecessary error contexts | Jesse Luehrs | 2020-05-25 | 3 | -31/+13 |
| | |||||
* | use the crate version for the protocol version | Jesse Luehrs | 2020-05-21 | 1 | -1/+1 |
| | |||||
* | fix unlocking org keys on initial login | Jesse Luehrs | 2020-05-03 | 2 | -15/+53 |
| | |||||
* | allow storing password databases from different servers | Jesse Luehrs | 2020-05-03 | 1 | -25/+31 |
| | | | | | this should allow easy switching of servers by just `rbw config set base_url` | ||||
* | simplify | Jesse Luehrs | 2020-05-03 | 2 | -16/+5 |
| | |||||
* | also make the agent store decrypted org keys in memory | Jesse Luehrs | 2020-05-03 | 1 | -2/+14 |
| | |||||
* | also store org keys in the local db | Jesse Luehrs | 2020-05-03 | 1 | -4/+7 |
| | |||||
* | refactor encrypt/decrypt methods to indicate symmetric encryption | Jesse Luehrs | 2020-05-03 | 1 | -4/+6 |
| | | | | since we're going to have to also implement asymmetric encryption | ||||
* | save the private key to the local db | Jesse Luehrs | 2020-05-03 | 1 | -1/+2 |
| | |||||
* | expand the protocol to allow decrypting with organization keys | Jesse Luehrs | 2020-05-02 | 2 | -7/+33 |
| | | | | not implemented yet, just changing the interface | ||||
* | check protocol version before agent communication | Jesse Luehrs | 2020-05-02 | 2 | -0/+14 |
| | |||||
* | don't kill the agent if it fails to parse a message | Jesse Luehrs | 2020-05-02 | 2 | -2/+16 |
| | |||||
* | allow multiple attempts for password entry | Jesse Luehrs | 2020-04-18 | 1 | -35/+87 |
| | |||||
* | refactor | Jesse Luehrs | 2020-04-18 | 1 | -1/+1 |
| | |||||
* | stop using the api cipher struct publicly | Jesse Luehrs | 2020-04-18 | 1 | -2/+2 |
| | |||||
* | refactor | Jesse Luehrs | 2020-04-18 | 1 | -20/+10 |
| | |||||
* | implement add command | Jesse Luehrs | 2020-04-18 | 1 | -1/+1 |
| | |||||
* | add encryption to the agent protocol | Jesse Luehrs | 2020-04-18 | 2 | -0/+37 |
| | |||||
* | make daemonizing optional | Jesse Luehrs | 2020-04-18 | 1 | -3/+15 |
| | |||||
* | keep daemon log files | Jesse Luehrs | 2020-04-18 | 1 | -0/+14 |
| | |||||
* | drop timeout due to tokio limitations | Jesse Luehrs | 2020-04-18 | 1 | -1/+2 |
| | |||||
* | fix private key timeout handling | Jesse Luehrs | 2020-04-12 | 1 | -18/+73 |
| | |||||
* | avoid holding the state mutex for as long | Jesse Luehrs | 2020-04-12 | 1 | -9/+4 |
| | | | | | in particular, don't hold it over pinentry calls, since those can take arbitrarily long | ||||
* | implement refresh token handling | Jesse Luehrs | 2020-04-12 | 1 | -4/+23 |
| | |||||
* | rename some stuff to be less confusing | Jesse Luehrs | 2020-04-12 | 3 | -11/+11 |
| | |||||
* | improve error handling and reporting | Jesse Luehrs | 2020-04-12 | 5 | -86/+243 |
| | |||||
* | automatically sync on login | Jesse Luehrs | 2020-04-11 | 1 | -2/+4 |
| | |||||
* | better pinentry messages | Jesse Luehrs | 2020-04-11 | 1 | -4/+21 |
| | |||||
* | don't block the main loop on timer events | Jesse Luehrs | 2020-04-11 | 1 | -1/+4 |
| | |||||
* | also refactor the agent code | Jesse Luehrs | 2020-04-11 | 5 | -0/+300 |