ucryptolib on pBoard v1.1

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
scsibuzz
Posts: 3
Joined: Sun Aug 09, 2020 11:17 pm

ucryptolib on pBoard v1.1

Post by scsibuzz » Sat Oct 10, 2020 1:28 am

Hi all,

Thanks for your support.

I purchased a Pyboard from Sparkfun and am unable to import ucryptolib. According to the documentation and several forums posts, it seems it should be available.

Here's the result from help('modules'):

Code: Select all

>>> help('modules')
__main__          math              ucollections      urandom
_onewire          micropython       uctypes           ure
builtins          network           uerrno            uselect
cmath             onewire           uhashlib          usocket
dht               pyb               uheapq            ustruct
framebuf          stm               uio               utime
gc                sys               ujson             utimeq
lcd160cr          uarray            umachine          uzlib
lcd160cr_test     ubinascii         uos
Plus any modules on the filesystem
Any ideas on why it's not available on my board? Is it related to crypto export restrictions?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ucryptolib on pBoard v1.1

Post by Roberthh » Sat Oct 10, 2020 7:22 am

ucyptolib is not included in every port. It is for instance included in the build for Pyboard D, but not for Pyboard V1.1, which seems to be the module you use.

Post Reply