You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy and patch readpassphrase.c rather than maintaining a fork #1433
The diff to upstream currently is a complete mess and could surely be quite a bit cleaner. The various defines added to the top probably should go into readpassphrase.h and I have no idea what the reshuffling of the includes is all about. That would then leave the return value handling via bytes_written which is a bit annoying (could perhaps be hacked around with a wrapper/#define for write in this file), and then some minor things.
There's __pledge_open() which could probably just be a compat shim.
This will need a bit of fiddling, but it should not be too hard.
The gen subdirectory of libc isn't currently part of the openbsd conversion. Adding it will break the hashes in the openbsd repo, which we could live with, but perhaps it's not worth it.
At least should have some check that readpassphrase.c (and perhaps some other files) aren't outdated...
Activity
botovq commentedon Oct 15, 2026
The gen subdirectory of libc isn't currently part of the
openbsdconversion. Adding it will break the hashes in the openbsd repo, which we could live with, but perhaps it's not worth it.At least should have some check that readpassphrase.c (and perhaps some other files) aren't outdated...