Commit Graph
66 Commits
Author SHA1 Message Date
RandyTheSilly 45e2b60e10 Replaced use of system-provided 'touch' with pathlib's Path.touch, added 'mode=' when specifying permissions 2022-12-04 18:33:41 -05:00
RandyTheSilly d7987a1bc0 Detect Wayland sessions by checking if $WAYLAND_DISPLAY is set 2022-12-04 17:45:50 -05:00
RandyTheSilly 952fdd160b Re-ordered clipboard support to match support priorities (Wayland first) 2022-12-04 17:38:10 -05:00
RandyTheSilly c8c394e550 Replace occasional use of system-provided mkdir with pathlib's Path.mkdir 2022-12-04 15:31:31 -05:00
RandyTheSilly db4351469e Removed all remaining instances of subprocess.run being called with shell=True 2022-11-28 14:17:26 -05:00
RandyTheSilly e8703300fd Replace remaining uses of system() 2022-11-28 13:38:17 -05:00
RandyTheSilly 322db7ac54 Allow Haiku to use default pinentry, thanks to haikuports/haikuports#7457 2022-11-28 12:52:54 -05:00
RandyTheSilly cc81f219fa Use XDG_SESSION_TYPE to check for Wayland, rather than WAYLAND_DISPLAY 2022-11-26 23:57:12 -05:00
RandyTheSilly bf20b83738 Renaming no longer throws an error while not in offline mode 2022-11-26 15:18:47 -05:00
RandyTheSilly 74f9f616f3 Move some rarely used import statements closer to where they are needed 2022-11-26 14:05:19 -05:00
RandyTheSilly daf3f0d7bf Reduced code used for clipboard support 2022-11-26 13:53:47 -05:00
RandyTheSilly dc218025a7 Replace all currently replaceable instances of system() or run(X, shell=True) with run(X, shell=False) for security and compatibility 2022-11-26 13:19:09 -05:00
RandyTheSilly 3a63966827 Attempt to create ~/.ssh regardless of OS 2022-11-25 21:40:23 -05:00
RandyTheSilly 3ad2068b11 Use os.symlink in place of shell commands 2022-11-25 21:32:18 -05:00
RandyTheSilly 8276b9164e Replaced database downloads in sync() with newer output capture logic from sshync - much faster syncing 2022-11-25 21:11:07 -05:00
RandyTheSilly dce6ad4390 Removed useless pass statement in sync() 2022-11-25 19:37:13 -05:00
RandyTheSilly b10c111640 pass_gen no longer recurses when the user gives invalid input 2022-11-25 19:23:14 -05:00
RandyTheSilly 3a96ef29dc Import os.path.expanduser directly to remove lots of repeated text 2022-11-25 18:45:06 -05:00
RandyTheSilly 3a85f06ffe Use subprocess.run without shell=True where easily applicable, redirect unused captured output to DEVNULL 2022-11-25 18:11:38 -05:00
RandyTheSilly 289d12f45a Use ASCII 30 and 31 as separators, removes limitations on "@", "^&*", and "*&^". 2022-11-25 12:00:51 -05:00
RandyTheSilly ae5172a6c8 Replaced sshync mod time/title retrieval logic with much more efficient and compatible logic 2022-11-24 19:40:04 -05:00
RandyTheSilly 109141a266 Removed '~' from generated filename character pool to avoid issues with quick-unlock 2022-11-06 13:25:35 -05:00
RandyTheSilly 8b8e0c510f Updated quick-unlock failure error message 2022-11-06 00:49:44 -04:00
RandyTheSilly 0b0c8a37d1 Only check whitelist status if the gpg agent is locked (speeds up successive quick-unlock attempts) 2022-11-06 00:43:25 -04:00
RandyTheSilly 8b3bf04945 Fixed device id fetching (and quick-unlock verification) on Haiku 2022-11-05 23:57:09 -04:00
RandyTheSilly 9cd5066cc9 Fixed visual issue with version info screen 2022-11-05 19:12:51 -04:00
RandyTheSilly 517d2a3d22 Update documentation for v1.2.0 2022-11-05 18:27:43 -04:00
RandyTheSilly ca983d4992 Fixed editing entries with new string generation 2022-11-05 15:34:19 -04:00
RandyTheSilly 0614c2c83b Allow complex string generation for /dev/shm and device ids 2022-11-05 15:21:30 -04:00
RandyTheSilly 900f216ac0 Removed generated password length limit 2022-11-05 14:01:49 -04:00
RandyTheSilly a1d5c8607c Made spacing in server help menus consistent with client help menus 2022-11-03 22:58:35 -04:00
RandyTheSilly 33f7330886 Made exit codes more specific to their errors 2022-10-26 13:32:23 -04:00
RandyTheSilly a26ca86977 Fixed quick-unlock requirng passphrase regardless of whether or not it is needed - again 2022-10-25 11:53:52 -04:00
RandyTheSilly 51d99992a5 Require _client_device_id as parameter to whitelist_verify (for extension support) 2022-10-24 15:31:06 -04:00
RandyTheSilly d887047fd0 Initial enablement of extension support for quick-unlock 2022-10-20 15:25:57 -04:00
RandyTheSilly 304c1b09f0 Removed an exit statement that was preventing extensions from working 2022-10-19 15:13:14 -04:00
RandyTheSilly 6b20b82dd5 Allow fallback to standard unlock if quick-unlock fails 2022-10-19 11:34:02 -04:00
RandyTheSilly e66ecd9514 Created local _quick_enabled for decrypt() for extension support 2022-10-19 10:14:39 -04:00
RandyTheSilly c8691372ca Removed need to re-enter quick-unlock passphrase is the gpg agent is already unlocked 2022-10-19 10:04:52 -04:00
RandyTheSilly 2b98562dca Optimized decrypt() 2022-10-19 09:33:38 -04:00
RandyTheSilly 9d990eb9f6 Fixed string_gen complex generating unprintable strings 2022-10-18 14:54:10 -04:00
RandyTheSilly 07cf7a558f Fixed shearing and renaming entries with quick-unlock 2022-10-18 13:35:12 -04:00
RandyTheSilly fa7e03bcf7 Automatically set quick-unlock passphrase length if the user specifies an invalid option 2022-10-13 16:49:08 -04:00
RandyTheSilly f5161ef5cb Removed unnecessary s_exit() statements 2022-10-13 10:58:07 -04:00
RandyTheSilly fd12a3c003 Made error message for when quick-unlock fails more clear 2022-10-12 16:24:27 -04:00
RandyTheSilly 70ee2c6d04 Respect the user-specifed quick-unlock passphrase length 2022-10-12 14:57:33 -04:00
RandyTheSilly 35ee78f717 Truncate max quick-unlock password length 2022-10-12 14:53:48 -04:00
RandyTheSilly 8dd5101c7f Fixed failed decryption on excluded.gpg 2022-10-12 14:37:54 -04:00
RandyTheSilly 844280c13e Fixed quick-unlock gpg key passphrase creation and made quick-unlock more verbose 2022-10-12 13:39:01 -04:00
RandyTheSilly d9e2a7d4e1 Attempt remote imports from /lib/sshyp, rather than /bin 2022-10-12 12:48:08 -04:00