Scroll to navigation

AIOCOAP-KEYGEN(1) aiocoap AIOCOAP-KEYGEN(1)

NAME

aiocoap-keygen - Generate keys for CoAP credentials

A tool for creating key pairs for use in credentials

Note that this tool operates on secrets stored in unencrypted files, protectd by restrictively set file system permissions. While this is common practice with many tools in the UNIX world, it might be surprising to users coming from multi-factor environments.

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


POSITIONAL ARGUMENTS

Possible choices: generate

NAMED ARGUMENTS

show program's version number and exit

SUB-COMMANDS

generate

This generates an EDHOC key, stores it in a key file that is only readable by the user, and prints the corresponding public key information in a way suitable for inclusion in credentials maps.

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


Positional Arguments

File to store the secret key in

Named Arguments

Hexadecimal key identifier
Text placed in the CCS

Copyright

Christian Amsüss and the aiocoap contributors

April 4, 2026 0.4