[ndnSIM] Unsupported EC key length

Walter Swift waltersw3606 at gmail.com
Mon Nov 1 06:10:48 PDT 2021


Hello everyone,

I'm trying to create an Identity to create a key to sign the signature, the
following is a snippet of my program:
ndn::KeyChain keychain;
auto pas = keychain.getDefaultKeyParams();
auto my_id = keychain.createIdentity("pro1, pas);

However, I receive an following message while running my program and it
will be terminated:
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::invalid_argument>
>'
    what(): Unsupported EC key length 2120880896

The key length will change every time I run my program, could you help me
to solve this?
Thanks and regards

Sincerely yours,
Walter Swift
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20211101/446ef580/attachment.html>


More information about the ndnSIM mailing list