aiocoap-keygen

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

subcommand

Possible choices: generate

Named Arguments

--version

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

keyfile

File to store the secret key in

Named Arguments

--kid

Hexadecimal key identifier

--subject

Text placed in the CCS