1
0
Fork 0
forked from soccera/rdo
Commit graph

2 commits

Author SHA1 Message Date
sw1tchbl4d3
fd4ee6a712 Use the correct file descriptor for printing
Before we used printf("\n"); to simulate the enter key the user pressed,
which prints to normal stdout, which could have been redirected.
Now we directly write to the found TTY.

We also close the TTY file descriptor on every code path now.
2022-05-06 08:19:18 +02:00
sw1tchbl4d3
d09a59a77e Add own readpassphrase function
This removes the libbsd dependency.
Fixed #10.
2022-05-05 08:21:48 +02:00