AIOCOAP-KEYGEN(1)

πŸ“¦ version 0.4.17, in ubuntu stonking

πŸ’– AIOCOAP-KEYGEN ✨

okay bestie, so this is aiocoap-keygen from the aiocoap manual page β€” she generates keys for CoAP credentials! πŸ”‘

It's literally a tool for creating key pairs for use in credentials. That's her whole job. She's so good at it. 🫢

⚠️ real talk for a sec: this tool operates on secrets stored in unencrypted files, protected by restrictively set file system permissions. Which is, like, common practice with many tools in the UNIX world, but if you're coming from a multi-factor environment it might lowkey be surprising. πŸ’€ No cap. Know what you're getting into.

🌸 SYNOPSIS 🌸

usage: aiocoap-keygen [-h] [--version] {generate} ...

πŸŽ€ POSITIONAL ARGUMENTS πŸŽ€

  • subcommand β€” the thing you're telling it to do. Possible choices: generate. That's the menu, girl, pick your fighter. ✨

πŸ¦‹ NAMED ARGUMENTS πŸ¦‹

  • --version β€” shows the program's version number and exits, like a queen announcing herself and leaving the party. πŸ‘‘

πŸ’… SUB-COMMANDS πŸ’…

✨ generate ✨

This one generates an EDHOC key, stores it in a key file that's only readable by the user (privacy queen 🧚), and prints the corresponding public key info in a way that's suitable for inclusion in credentials maps. icon behaviour, honestly.

aiocoap-keygen generate [-h] [--kid KID] [--subject SUBJECT] keyfile

🌈 Positional Arguments 🌈

  • keyfile β€” the file where the secret key gets stored. Yes bestie, the secret one. Guard it with your life. πŸ’–

⭐ Named Arguments ⭐

  • --kid β€” a hexadecimal key identifier
  • --subject β€” text that gets placed in the CCS

Copyright Christian Amsüss and the aiocoap contributors 🌸


k that's the whole page fr fr, go generate some keys and slay πŸ’…πŸ”

aiocoap 0.4 Β· Apr 04, 2026 β€” mwah, periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from