Commit graph

27 commits

Author SHA1 Message Date
Joao Jacome 22c658898d
Removing unused memoize funcion (#46)
* Removing unused memoize funcion
2023-07-17 10:48:29 +00:00
Joao Jacome 3e43873541
Merge pull request #45 from joaojacome/cargomaster
Improved documentation, changed link to archived Bitwarden CLI, fixed subprocess login check
2023-07-17 11:39:02 +01:00
Markus Luisser 039f1940a0
fix: omit subprocess return code check
This avoids running into an Exception when bw (tested with bw 2023.1.0)
returns a non-zero exit code while checking if a bw session already exists.
2023-07-17 11:36:22 +01:00
charmparticle fee2a97e30
Fixing linebreaks and wrong encoding when calling ssh-add on Windows (#39)
lyc8503's change that fixes issue #38
2023-06-14 12:58:53 +00:00
Scott Wallace fc541f0e97
Remove deprecated code (#41)
* Tidy typing

* Remove deprecated code (and non-standard dependency)
2023-06-14 12:38:00 +00:00
Joao Jacome 6035f80a11
Setting up PR/push workflows (#34)
* Setting up pull request/push workflows to run Black, MyPy and Flake8
* Fixing formatting
2023-01-14 16:29:39 +00:00
Weidows c56b7041e4 fix encoding & add session param 2022-10-13 22:23:49 +08:00
Ymage e186367d5d Fix for already set SSH_ASKPASS env var 2022-08-21 13:11:20 +02:00
Scott Wallace b378de4163
Reformat with Black 2022-05-02 13:27:16 +01:00
Scott Wallace bc2d23fc55
Fix typing annotations 2022-05-02 13:27:16 +01:00
Pavel Panteleev dee9911ba7 Cleanup README 2022-04-27 14:26:14 +04:00
Pavel Panteleev ff5258af6a Provide passphrase using SSH_ASKPASS 2022-04-27 14:21:59 +04:00
Pavel Panteleev 3d4c3ad201 Decrypt keys with paramiko 2022-04-25 19:32:24 +04:00
Scott Wallace ae2fa7c87e
Keep session as a string 2022-03-25 14:27:37 +00:00
Scott Wallace dde9930eb8
Add type hints 2022-03-25 14:13:36 +00:00
Scott Wallace 1d05c037f3
Display a command to allow the user to re-use the newly created session 2022-03-25 13:43:13 +00:00
Gary T. Giesen e5a557bc24 Make bw_add_sshkeys Python 3.6-compatible by replacing "text=True" with "universal_newlines=True". Resolves #18 2021-11-22 02:41:55 -05:00
Ryan Kraay dc98877938 Allow traveral of non-secure notes 2021-10-15 21:12:40 +02:00
Mikaël Fourrier 37aafc91a1 Add executable bit 2021-05-11 13:52:39 +02:00
Mikaël Fourrier 813118fe3e Get key passphrase from stdin 2021-05-11 12:19:14 +02:00
Mikaël Fourrier f3cd4a9e26 Fix faulty condition checking 2021-05-11 10:20:02 +02:00
Mikaël Fourrier dc12119ea5 Use check=True instead of check_statuscode 2021-05-11 10:19:28 +02:00
Yamakaky 00bf399c9a Remove assignment operator 2021-05-11 10:19:28 +02:00
Mikaël Fourrier a3753314e8 Improve subprocess handling
Fixes #9
Fixes #10
2021-05-11 10:19:26 +02:00
Scott Wallace 506a555c39
Fix a typo to resolve #6 2021-01-16 10:30:26 +00:00
Scott Wallace 7945f26301 Only add --nointeraction flag if the Bitwarden CLI binary supports it. 2020-04-16 12:40:46 +01:00
Scott Wallace 2d3fb50a4e Refactor to run within a single Python script 2020-04-14 09:14:10 +01:00