(no title)
minitech | 1 month ago
If you have a procfs mounted at /proc and the open syscall to use on it, sure (and even then, it’s wasteful and adds unnecessary failure paths). Even argument parsing is yet more code to audit.
I think the design is pretty good as-is.
gnull|1 month ago
One open syscall in addition to dozens already made before your main function is started will have no observable effect whatsoever.
minitech|1 month ago
Not involving argument parsing simplifies the interface regardless of how easy the implementation is, and the cost is just having to look up a digit in a manual that I certainly hope anyone doing raw ed25519 in shell is reading anyway.