Commit graph

75 commits

Author SHA1 Message Date
Vlad Glagolev
0fb97fbc49 Add lineheight support 2022-08-03 03:20:29 +00:00
Moritz Lüdecke
a4f7d150c7
Merge pull request #9 from ftrvxmtrx/master
don't print "No config file found..." message
2022-01-20 19:20:18 +01:00
Sigrid Solveig Haflínudóttir
dad5154a71 don't print "No config file found..." message
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} ---
2022-01-20 16:44:25 +01:00
Moritz Luedecke
a77bb7a194
Prevent duplicated uses of pinentry 2020-05-23 13:50:06 +02:00
Moritz Luedecke
df021cebfd
Remove empty spaces 2020-05-23 13:49:04 +02:00
Moritz Lüdecke
73fb6de7b8
Merge pull request #4 from maximbaz/typo-bottom
Fix typo in the config 'bottom'
2019-01-24 19:18:24 +01:00
Maxim Baz
63cd546e51
fix typo in the config 'bottom' 2019-01-24 00:23:29 +02:00
Moritz Luedecke
0e8cec2f55 Mention GNUPGHOME in the manpage 2018-02-03 11:27:11 +01:00
Moritz Luedecke
e1904c2196 Regard GNUPGHOME 2018-02-02 12:21:51 +01:00
Moritz Luedecke
a9cba79ff9 Add repeat function 2018-01-25 14:17:57 +01:00
Moritz Luedecke
631b801c00 Change the approach of prompt setup 2018-01-25 10:14:21 +01:00
Moritz Luedecke
3efd900cd2 Add new global variable pin_len 2018-01-25 10:14:21 +01:00
Moritz Luedecke
54dd0d68bf Add gitignore 2018-01-25 10:14:21 +01:00
Moritz Luedecke
e583cf17b1 Set pinentry->result 2018-01-25 10:14:18 +01:00
Moritz Luedecke
e782992eae Remove useless comment 2017-09-30 18:20:49 +02:00
Moritz Luedecke
8160dd91df Use the right buffer size to paste more than twelve characters 2017-09-30 18:20:26 +02:00
Moritz Lüdecke
3c1b9bb4f8 Fix table syntax 2017-09-25 15:42:43 +02:00
Moritz Luedecke
36afaeb1b2 Use GPLv2 satisfy pinentry's requirements 2017-09-25 15:14:23 +02:00
Moritz Luedecke
7d1fd3fc98 Rewrite a comment and delete a unnecessary whitespace 2017-09-25 15:12:24 +02:00
Moritz Luedecke
9e73caa8e5 Add dist, install and uninstall commands 2017-09-25 01:28:29 +02:00
Moritz Luedecke
059d157364 Add variable for pinentry object files 2017-09-25 01:27:59 +02:00
Moritz Luedecke
ec8934d17e Add manual page 2017-09-25 01:25:44 +02:00
Moritz Luedecke
e2dd7745e1 Add key bindings from dmenu 2017-09-25 01:23:49 +02:00
Moritz Luedecke
07b14f1e91 Don't delete the whole suffix when remove a symbol in the middle of the passphrase 2017-09-24 20:34:36 +02:00
Moritz Luedecke
6a22ded419 Add DATE and update BUGREPORT 2017-09-24 10:19:15 +02:00
Moritz Luedecke
f0f9376c92 Delete unnecessary files 2017-09-23 16:49:30 +02:00
Moritz Luedecke
f86118d3b6 Disable buttom mode as default 2017-09-23 15:47:15 +02:00
Moritz Luedecke
9b545d86e1 Add VERSION and PACKAGE_BUGREPORT 2017-09-23 15:46:12 +02:00
Moritz Luedecke
a29ac8b14c Rename README to README.md 2017-09-23 15:21:37 +02:00
Moritz Luedecke
953057bab5 Add examples to README 2017-09-23 15:20:57 +02:00
Moritz Luedecke
c3077abf4e Fill README with details 2017-09-19 18:34:49 +02:00
Moritz Luedecke
9e8572af7e Move all config variables into config.h and rename topbar to buttom 2017-09-15 00:39:22 +02:00
Moritz Luedecke
84a7f88da1 Fix indentation 2017-09-11 09:29:03 +02:00
Moritz Luedecke
f4c911ee19 Update README 2017-09-10 11:26:53 +02:00
Moritz Luedecke
9241e51a81 Only allocate memory if needed 2017-09-10 11:18:02 +02:00
Moritz Luedecke
72044dca8a Add paste with Ctrl+V 2017-09-10 11:05:39 +02:00
Moritz Luedecke
0910a906dc Split keypress function in a WinConfirm and a WinPin branch 2017-09-10 11:01:04 +02:00
Moritz Luedecke
734f628b4a Bracket the parameter for sizeof 2017-09-10 10:59:36 +02:00
Moritz Luedecke
6fc1c94d12 You can abort the dialog and password prompt with CTRL+C 2017-09-05 23:57:46 +02:00
Moritz Luedecke
68a3524700 Get out the home dir even if the user used sudo or logged in as root 2017-09-05 22:20:28 +02:00
Moritz Luedecke
f5de98070f Fix memory leak 2017-08-28 18:03:24 +02:00
Moritz Luedecke
22bc570658 Add repeat functionality 2017-08-27 20:35:54 +02:00
Moritz Luedecke
e5b85da8d3 Use secure buffer from pinentry 2017-08-27 16:25:33 +02:00
Moritz Luedecke
30ec729f88 Delete unneded files 2017-08-27 12:58:02 +02:00
Moritz Luedecke
0990df017e Add libconfig 2017-08-23 22:22:23 +02:00
Moritz Luedecke
fa8ca60f07 Use secure memory 2017-08-23 22:21:50 +02:00
Moritz Luedecke
f4084a9b73 Reformat comments 2017-08-21 19:20:42 +02:00
Moritz Luedecke
a5971e5e0b Eliminate useless checks 2017-08-20 17:18:51 +02:00
Moritz Luedecke
3c6d13e0eb Get winid from pinentry instead of dealing it by itself 2017-08-20 16:58:21 +02:00
Moritz Luedecke
33a113aa25 Remove unneded assignment 2017-08-20 16:01:03 +02:00