3 ms·
New updated version of a Linux based Deadmans Switch
by dimensionc132 4y ago
New updated version of a Linux based Deadmans Switch
- LinuxBender 4y agoThat looks quite useful. I noticed it wants a specific version of mcrypt. On Alpine Linux most of my nodes I see libmcrypt-2.5.8-r9. On VoidLinux it is 2.5.8_3. Are there by any chance plans to allow using openssl as an alternative?
- dimensionc132 4y agoPretty sure that although on my system I have 2.6.8-4, it will work with a lesser version such as 2.5.8_3 as on Void. I am using mcrypt because it was simple to implement the user password feature. I am not too sure about openssl as all I am doing is encrypting a file which is stored locally. Mcrypt is in the Arch repo: https://aur.archlinux.org/packages/mcrypt https://aur.archlinux.org/packages/mcrypt
- LinuxBender 4y agoThat make sense. For what it's worth here [1] is an example of using openssl and passwords to encrypt / decrypt files. I only know about this because I had to use this method with a vendor that wanted to keep their software encrypted in transit and wanted to use a passphrase. On Alpine and Void I only see a library and not a binary program. I've also seen some sites say not to use mcrypt because it may be abandonware, but I have no idea how true that may or may not be. [1] - https://www.shellhacks.com/encrypt-decrypt-file-password-openssl/ https://www.shellhacks.com/encrypt-decrypt-file-password-ope...
- dimensionc132 4y agothanks, I will have a play with it and see. If it works how i want i will put into an update version.