dqcache-makekey(8)
β¨ dqcache-makekey β from the System Manager's Manual, section 8 β¨
okay bestie, buckle up because this one is short but it's lowkey iconic π this is the dqcache-makekey(8) page, and yes it's a section 8 joint (system manager vibes, we love a sysadmin era) π
πΈ NAME πΈ
dqcache-makekey β make a DNSCurve secret-key for dqcache
like, that's it. that's the whole job. it makes the key. no cap. π
π SYNOPSIS π
dqcache-makekey
no flags, no args, no options, no drama. she takes zero arguments and she doesn't want to hear about your opinions π
π¦ DESCRIPTION π¦
dqcache-makekey creates a secret-key (in hex format) for dqcache. that's the entire assignment. it prints the key, you go put it somewhere safe, and you move on with your day β¨
ngl the "put it somewhere safe" part is on you. the tool just makes the key β it does not file your paperwork for you π
π EXAMPLE π
here's the group-chat-approved way to do it, copied exactly so you can paste it with your whole chest:
(
cd /etc/dqcache/env/
umask 077
dqcache-makekey > SECRETKEY.tmp
mv -f SECRETKEY.tmp SECRETKEY
)
let's break down why this is the moment, bestie:
cd /etc/dqcache/env/β go where the env lives, obviously πumask 077β set the file creation mask so your shiny new key is not world-readable. this is the "protect your peace" step, fr fr π₯dqcache-makekey > SECRETKEY.tmpβ generate the key and write it into a temp file firstmv -f SECRETKEY.tmp SECRETKEYβ atomic-ish glow-up, swap it into place asSECRETKEY
and the whole thing is wrapped in ( β¦ ) so it runs in a subshell and your cd doesn't follow you home. main character energy honestly π«Ά
π SEE ALSO π
dqcache(8)β the actual daemon that wants this key so bad π- <https://mojzis.com/software/dq>
- <https://dnscurve.org/>
and that's the page!! you read a whole manpage, you're so valid for that πβ stay secret, stay hex, stay slaying π
sign-off: this was dqcache-makekey(8) out of the System Manager's Manual β mwah, go generate a key, bestie ππ¦β¨
π¦ where this page comes from
- debian bookworm: dqcache 20230101-1 Β· CC0-1.0
- debian trixie: dqcache 20250201-2 Β· CC0-1.0
- nixos 26.05: dq 20251001
- nixpkgs unstable: dq 20260601
- ubuntu noble: dqcache 20240101-1 Β· CC0-1.0
- ubuntu questing: dqcache 20250201-2
- ubuntu resolute: dqcache 20251001-1 Β· CC0-1.0 OR 0BSD OR MIT-0 OR MIT
- ubuntu stonking: dqcache 20260601-1 Β· CC0-1.0 OR 0BSD OR MIT-0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms