Config file is now closer to completion. Still need to figure out ASN.1 DER for private key, and add peer id to config file

This commit is contained in:
jmjatlanta 2016-11-02 13:09:38 -05:00
parent 772857312f
commit 0d8f599ac9
22 changed files with 606 additions and 102 deletions

View file

@ -56,7 +56,7 @@ int do_init(FILE* out_file, char* repo_root, int empty, int num_bits_for_keypair
return 0;
//TODO: If the conf is null, make one
if (conf == NULL)
repo_config_init(conf, num_bits_for_keypair);
repo_config_init(conf, num_bits_for_keypair, repo_root);
//TODO: initialize the fs repo
//TODO: add default assets
return initialize_ipns_keyspace(repo_root);