Commits


remove libsodium dependency The libsodium dependency was originally introduced because GNU systems didn't have arc4random(3) in stdlib.h, and simply reading /dev/urandom seemed like a bad idea. Glibc does have arc4random(3) now (since the release 2.36 of august 2022), and last time I checked musl developers seemed to be for the idea of supporting arc4random(3) once glibc does (Though they don't yet). People wishing to compile gpass with unusual (i.e. not BSD or GNU) libcs may modify the Makefile to link against libbsd.


improve the algorithm


remove the bsd dependencies (again)


on OpenBSD: revoke the unveil(2) ability once it's not needed


remove BSD dependencies


add some security features - When compiling on OpenBSD use pledge(2) and unveil(2). - Ensure there are no integer overflows etc.


improve error messages


cleanup


refuse to run with dictionaries too short


cleanup


utilise bsd err()


improve entropy calculation


minimise the number of passes through the file


simplify the code


initial commit