Commit Graph
14 Commits
Author SHA1 Message Date
RandyTheSilly 03c040b373 Use go-boilerplate 2025-05-09 16:12:03 +00:00
RandyTheSilly 8f98e0b577 Use correct string gen mode for generating device ID suffix 2025-04-21 17:59:53 -04:00
RandyTheSilly 4ed816cb11 Allow more control over string generation to improve generated password compatibility 2025-04-20 01:18:46 -04:00
RandyTheSilly 51bb67f315 Break current device ID retrieval out into exported function GetCurrentDeviceID(); fix duplicate device IDs being generated by not deleting the old one before a potentially failed registration 2025-03-19 23:35:50 -04:00
RandyTheSilly e9d0c37043 Implement utility function for formatting and printing errors 2025-02-01 20:48:03 -05:00
RandyTheSilly 4c54349b39 Assign error-specific exit codes to constants 2024-08-13 20:48:20 -04:00
RandyTheSilly a1c9827c04 Move FSSpace, FSPath, and FSMisc constants to core package to avoid import cycles 2024-08-13 20:28:33 -04:00
RandyTheSilly be46b0d6b2 Fix init if devices directory does not exist/is empty 2024-08-13 20:21:11 -04:00
RandyTheSilly 88b7a6be6d Create all config/entry files (both local and remote) with 0600 permissions 2024-08-13 17:20:15 -04:00
RandyTheSilly 7d51d12b55 Remove old device ID from server in DeviceIDGen 2024-08-12 15:53:40 -04:00
RandyTheSilly 06b9527a33 Properly format function documentation comments 2024-08-11 16:37:28 -04:00
RandyTheSilly 9f43337437 Call GetSSHClient once in a full sync procedure, reusing the client (fixes multiple keyfile passphrase prompts) 2024-08-11 15:01:24 -04:00
RandyTheSilly c83a3aa018 Rename "backend" package to "core" 2024-08-08 16:49:34 -04:00
RandyTheSilly ba4f7f2340 Move packages out of src/ 2024-08-08 16:35:03 -04:00