Actions
Bug #2052
closedndnsec doesn't correctly infer prefix before KEY
Description
Somehow, ndnsec doesn't perform proper inference for the prefix before KEY based on signing identity.
Say:
- signing identity:  
/alex - request for identity: 
/alex/hello/world(name in request:/alex/hello/world/KEY/ksk-1412971757948/ID-CERT/%00%00%01H%FB%AE%01%CD) 
Run:
ndnsec-cert-gen -N 'test' -s /alex -r -
Expected certificate name:
/alex/KEY/hello/world/ksk-1412971757948/ID-CERT/%00%00%01H%FB%B0P%7E
Actual certificate name:
/KEY/alex/hello/world/ksk-1412971757948/ID-CERT/%00%00%01H%FB%B0P%7E
The current workaround is to add --cert-prefix=/alex, but this shouldn't be the case.
      
      Updated by Alex Afanasyev about 11 years ago
      
    
    - Related to Task #1659: Allow user to explicitly specify the cert name prefix in ndnsec-certgen added
 
      
      Updated by Yingdi Yu about 11 years ago
      
    
    - Status changed from New to Code review
 - % Done changed from 0 to 100
 
      
      Updated by Junxiao Shi about 11 years ago
      
    
    - Status changed from Code review to Closed
 
Actions