Files
lightning/lightningd/hsm/hsm_control_wire_csv
Rusty Russell 10b8dc5950 lightningd/hsm: simple daemon to control the keys.
This provides APIs to access the keys.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-10 15:38:33 +10:30

17 lines
325 B
Plaintext

# These both respond with init_response
hsmctl_init_new,1
hsmctl_init_load,2
hsmctl_init_response,100
hsmctl_init_response,0,node_id,33
# ECDH returns an fd.
hsmctl_hsmfd_ecdh,3
hsmctl_hsmfd_ecdh,0,unique_id,8
# No message, just an fd.
hsmctl_hsmfd_ecdh_response,103
# Shutdown just results in an exit.
hsmctl_shutdown,4