Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

NetMF 4.2 and PKI


Best Answer Chris Walker, 22 July 2015 - 04:21 AM

Hi kiwi65,

Netduino Mini doesn't support this style of encryption. There was some early non-open-source crypto in NETMF (and there was even support for the early version of XTEA)--but to get a true crypto solution with NETMF you're really looking for a higher-end MCU running OpenSSL, etc.

Chris Go to the full post


  • Please log in to reply
2 replies to this topic

#1 kiwi65

kiwi65

    Member

  • Members
  • PipPip
  • 23 posts

Posted 19 July 2015 - 08:07 AM

Has anyone had experience/success getting PKI encryption working on a Mini? 

 

It seems like the Mini's version of NetMF has classes like 'System.Security.Cryptography.X509Certificates.X509Certificate2' and 'Microsoft.SPOT.Cryptoki.Session' pretty much stubbed out.

 

Any time these are invoked they generate:

 

An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.Security.PKCS11.dll

 

Any takes? Any example code?

 

Thanks in advance :)



#2 kiwi65

kiwi65

    Member

  • Members
  • PipPip
  • 23 posts

Posted 19 July 2015 - 09:20 PM

Chris/Anyone, does the Mini support PKCS#11?

 

Because we're having no luck creating Sessions, or enumerating Slots. We get 'NotSupported' exceptions.

 

All we really want to do is encrypt (RSA) from a public key that's within a X.509 certificate.



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 July 2015 - 04:21 AM   Best Answer

Hi kiwi65,

Netduino Mini doesn't support this style of encryption. There was some early non-open-source crypto in NETMF (and there was even support for the early version of XTEA)--but to get a true crypto solution with NETMF you're really looking for a higher-end MCU running OpenSSL, etc.

Chris




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.