hiq(1) | General Commands Manual | hiq(1) |
hiq - query the himitsu(7) key store
hiq [-1adDQ] [-F field] query...
hiq will query the Himitsu key store for keys matching the given query. For details on the query format, consult himitsu(7) under QUERY SYNTAX. Matching keys will be printed to the standard output in the format described by himitsu(7) under KEY FORMAT.
The user is not required to use redundant shell quoting to escape keys or values with special characters; the command line arguments are interpreted as if they have already been quoted properly.
-1
-a
-d
-D
-F field
-Q
To query for all keys matching proto=web:
$ hiq proto=web
To query for a key matching proto=web and host=example.org with a required username and password and an optional comment:
$ hiq proto=web host=example.org username password! comment?
To query for a key and decrypt it, returning the password field alone:
$ hiq -dFpassword proto=web host=example.org
To add a new key to the store:
$ hiq -a proto=web host=example.org user=jdoe password!=hunter2
To delete all keys matching host=example.org:
$ hiq -D host=example.org
himitsu(7), himitsu-ipc(5)
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other contributors. Up-to-date source code can be found at https://git.sr.ht/~sircmpwn/himitsu, and bugs/patches can be submitted by email to ~sircmpwn/himitsu-devel@lists.sr.ht.
2023-10-30 |