summaryrefslogtreecommitdiff
path: root/pinentry-dmenu.c
AgeCommit message (Collapse)Author
2022-01-20don't print "No config file found..." messageSigrid Solveig Haflínudóttir
On systems where musl is used as the libc, printf on pipe causes libc to check whether the output is a terminal (by calling ioctl TIOCGWINSZ) which results in broken pipe when an "OK" message is written. Creating an empty config file was the workaround, but it probably makes more sense to just disable the message altogether, as it's not supposed to be seen by the user regardless. openat(AT_FDCWD, "/home/ftrvx/.gnupg/pinentry-dmenu.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) ioctl(1, TIOCGWINSZ, 0x7ff2ba8a98) = -1 ENOTTY (Not a tty) writev(1, [{iov_base="", iov_len=0}, {iov_base="No config file found. Use defaul"..., iov_len=36}], 2) = 36 brk(NULL) = 0x558549b000 brk(0x55854a0000) = 0x55854a0000 getuid() = 1000 mlock(0x558549b020, 16384) = 0 geteuid() = 1000 getuid() = 1000 geteuid() = 1000 getuid() = 1000 geteuid() = 1000 dup(0) = 3 dup(1) = 4 write(4, "OK Pleased to meet you, process "..., 37) = -1 EPIPE (Broken pipe) --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=25113, si_uid=1000} ---
2020-05-23Prevent duplicated uses of pinentryMoritz Luedecke
2020-05-23Remove empty spacesMoritz Luedecke
2019-01-24fix typo in the config 'bottom'Maxim Baz
2018-02-02Regard GNUPGHOMEMoritz Luedecke
2018-01-25Add repeat functionMoritz Luedecke
2018-01-25Change the approach of prompt setupMoritz Luedecke
2018-01-25Add new global variable pin_lenMoritz Luedecke
2018-01-25Set pinentry->resultMoritz Luedecke
2017-09-30Remove useless commentMoritz Luedecke
2017-09-30Use the right buffer size to paste more than twelve charactersMoritz Luedecke
2017-09-25Rewrite a comment and delete a unnecessary whitespaceMoritz Luedecke
2017-09-25Add key bindings from dmenuMoritz Luedecke
2017-09-24Don't delete the whole suffix when remove a symbol in the middle of the ↵Moritz Luedecke
passphrase
2017-09-15Move all config variables into config.h and rename topbar to buttomMoritz Luedecke
2017-09-11Fix indentationMoritz Luedecke
2017-09-10Only allocate memory if neededMoritz Luedecke
2017-09-10Add paste with Ctrl+VMoritz Luedecke
2017-09-10Split keypress function in a WinConfirm and a WinPin branchMoritz Luedecke
2017-09-10Bracket the parameter for sizeofMoritz Luedecke
2017-09-05You can abort the dialog and password prompt with CTRL+CMoritz Luedecke
2017-09-05Get out the home dir even if the user used sudo or logged in as rootMoritz Luedecke
2017-08-28Fix memory leakMoritz Luedecke
2017-08-27Add repeat functionalityMoritz Luedecke
2017-08-27Use secure buffer from pinentryMoritz Luedecke
2017-08-21Reformat commentsMoritz Luedecke
2017-08-20Eliminate useless checksMoritz Luedecke
2017-08-20Get winid from pinentry instead of dealing it by itselfMoritz Luedecke
2017-08-20Remove unneded assignmentMoritz Luedecke
2017-08-20Replace newline characters with whitespaceMoritz Luedecke
2017-08-20Add cursorMoritz Luedecke
2017-08-20Remove a delete noteMoritz Luedecke
2017-08-20Remove unused variable and fix a warningMoritz Luedecke
2017-08-20Rename option windowed to embeddedMoritz Luedecke
2017-08-20Catch parameters '-W' and '--parent-wid' to get the window idMoritz Luedecke
2017-08-20Format definesMoritz Luedecke
2017-08-20Set config path to ~/.gnupg/pinentry-dmenu.confMoritz Luedecke
2017-08-20Get settings from config file and extend color schemeMoritz Luedecke
2017-08-15Fix uninitialized variable when call pinentry without descriptionMoritz Luedecke
2017-08-15Remove unused codeMoritz Luedecke
2017-08-10Add description at the right sideMoritz Luedecke
2017-08-01Add confirm dialogMoritz Luedecke
2017-08-01Revert some changes and add old code from dmenuMoritz Luedecke
2017-07-30Add monitor supportMoritz Luedecke
2017-07-30Fix code formationMoritz Luedecke