[Ndn-interest] using ValidatorConfig

Jyoti Parwatikar jp at wustl.edu
Mon Jan 25 08:46:24 PST 2016


Hi Junxiao,

I just got back to working on this.
I suspect my certificate is probably incorrect. When I step through the 
code, it is failing to create the IdentityCertificate from the file in  
ndn::security::conf::CheckerFactory::getSigner(const ConfigSection&, 
const string&)
I can see it read in from the configuration file and it's reading the 
other parameters fine. It's failing when it hits the creation of the 
signer in the checker.

The process is run as me. And the certificate file has permission 644.
First line of certificate file: 
Bv0C1QczCAV3dXN0bAgDS0VZCBFkc2stMTQ1Mjg3Mjk2ODQ2OAgHSUQtQ0VSVAgJ

My configuration file:
rule
{
    id "h1x1 data rule"
    for data
    filter
    {
       type name
       name /wustl/CHRONOLOG
       relation is-prefix-of
    }
    checker
    {
       type fixed-signer
       sig-type rsa-sha256
       signer
       {
          type file
          file-name "/users/jp/ndn/JPChronolog/cfg-files/wustl.cert"
       }
    }
}

-Jyoti


On 01/15/2016 12:20 PM, Junxiao Shi wrote:
> Hi Jyoti
>
> If giving the full path still doesn’t work, reply-all with the following:
>
>   * the complete ValidatorConfig configuration
>   * the code snippet that loads the configuration; in particular, is
>     it loaded from a file or from a string
>   * the full path of your certificate file
>   * the first line of your certificate file (this helps determining
>     whether you have the correct format in the certificate file)
>   * what is the current working directory
>   * what is the effective uid of the running program, and what Unix
>     permissions does this uid have on the certificate file
>
>
> Yours, Junxiao
>
>> On Jan 15, 2016, at 11:21 AM, Jyoti Parwatikar <jp at wustl.edu 
>> <mailto:jp at wustl.edu>> wrote:
>>
>> Junxiao,
>>
>> I am giving the full path.
>>
>> -Jyoti
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20160125/324a8203/attachment.html>


More information about the Ndn-interest mailing list