linotp.cli.init_cmd module¶
linotp init commands.
linotp init database linotp init enc-key linotp init audit-keys
- linotp.cli.init_cmd.create_audit_keys(privkey_filename, pubkey_filename)¶
- linotp.cli.init_cmd.create_secret_key(filename, data='')¶
Creates a LinOTP secret file to encrypt and decrypt values in database
The key file is used via the default security provider to encrypt token seeds, configuration values…
The key file contains 3 key of length 256 bit (32 Byte) each.
- linotp.cli.init_cmd.dump_key(filename, instructions=True)¶
- linotp.cli.init_cmd.erase_confirm(ctx, param, value)¶