Project

General

Profile

Bug #4085

Updated by Junxiao Shi about 7 years ago

Steps to reproduce: With KeyChain version 2, there are some problems with new ndnsec command line tools. 

 1. `rm -rf ~/.ndn` 
 2. `ndnsec key-gen /id1` 
 3. `ndnsec key-gen /id1` 
 4. `ndnsec key-gen /id2` 
 5. `ndnsec list -c` 

 Expected: one of two identities is indicated as default; one of two ndnsec-ls-identity cannot show default identity and all the keys under `/id1` is indicated one identity are marked as default key 
 Actual: neither identity 2. ndnsec-dump-cert may have same output when dump different certificate 

 The error is indicated as default; both keys are indicated as default not caused by command line tools but caused by ndn-cxx KeyChain v2. We need to figure out how error happens and fix it.

Back