2de17734 — Hugo Osvaldo Barrera 3 months ago master
cmd/hiq: Reuse `operation` for himitsu::client
c5f414b9 — Hugo Osvaldo Barrera 3 months ago
himitsu::client: Add `quit` operation
docs: let name lines conform to conventions

The name should not be made bold.

In himitsu-ipc(5), the name was "himitsu-ipc(5)", resulting in:

	$ man -k himitsu-ipc
	himitsu-ipc, himitsu-ipc(5)(5) - IPC protocol implemented by himitsud(1)

The descriptions should not be in sentence case. That's not changed for
himitsu(7): I assume "Himitsu" is a proper name.
docs: fix typos

Signed-off-by: Sebastian <sebastian@sebsite.pw>
himitsu-init: change default prompter config value
Finish man pages
Implement dynamic store unlocking with the new prompter protocol
Makefile: fix SHAREDIR
Makefile: provide default MANDIR
Makefile: install man pages
Add (most of the) man pages
cmd/hiq: read multiple entries from stdin when in add mode

Implements: https://todo.sr.ht/~sircmpwn/himitsu/41
cmd/himitsud: correct serv.pollfd offset

It also has a set of reserved pollfds that we shouldn't override.
cmd/himitsud: shift clients' pollfds after disconnecting

They become invalid and can cause all sorts of problems.

Fixes: https://todo.sr.ht/~sircmpwn/himitsu/25
cmd/himitsud: handle EOF from client
doc/prompter.txt: improve unlock procedure
himitsud: load prompter command from config
himitsud/query: do not ask for consent when there are no matches

This is pointless and results in a pretty broken prompter UI.
Makefile: install/uninstall binaries

Signed-off-by: Jose Lombera <jose@lombera.dev>
cmd/himitsu-init: fix configuration file setup

* Add file open mode which was cleared when using explicit flags
* Don't use a format string in non-formattable print
* Actually call the writeconf function somewhere