Secure provisioning tool on Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Secure provisioning tool on Linux

2,979 次查看
nada_lakhal
NXP Employee
NXP Employee

Hi,

Is the secure provisioning tool still not available for Linux?

On the User manual, there are steps to install it. It mentions prerequisites but they are not specified.

pastedImage_1.png

Could you specify the necessary requirements for the system so that we can run it on Linux?

At the moment we are getting this error message:

[21631] Error loading Python lib '/opt/nxp/MCUX_Provi_v1/bin/libpython3.7m.so.1.0': dlopen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /opt/nxp/MCUX_Provi_v1/bin/libpython3.7m.so.1.0)

thanks,

Nada 

0 项奖励
回复
4 回复数

2,798 次查看
liborukropec
NXP Employee
NXP Employee

Hello Nada,

in the https://www.nxp.com/docs/en/user-guide/MCUXSPTUG.pdf  is specified, that the requirement for Linux is:

Ubuntu 18.04 LTS 64 bit, with GNOME and OpenSSL 1.1.1 11 Sep 2018

What Linux distribution and version are you using?

Regards,

Libor

0 项奖励
回复

2,798 次查看
nada_lakhal
NXP Employee
NXP Employee

Hi Libor,

This is the system's information.

pastedImage_1.png

Thanks,

Nada

0 项奖励
回复

2,798 次查看
liborukropec
NXP Employee
NXP Employee

Hello,

according to Linux Mint 18.2 Cinnamon Release Notes - Linux Mint

Linux Mint 18.2 is based on Ubuntu 16.04.

It is quite outdated, this spring the LTS version of Ubuntu will be 20.04. The tool was tested on Ubuntu 18.04 LTS, and should work also on Ubuntu 19.x. I can look whether there's some workaround for Ubuntu 16.04 based distribution (I'll let you know later), but I highly recommend to use the tested and supported OS for Secure Provisioning tool.

Regards,

Libor

0 项奖励
回复

2,798 次查看
liborukropec
NXP Employee
NXP Employee

Hello Nada,

I strongly recommend to upgrade to Ubuntu 18.04 based OS.

You can try a workaround with docker (the only I have found so far)

# install docker

apt install docker.io

# enable docker to contact your X server

xhost +

# build docker image with minimal dependencies

sudo docker -t provi - <<EOF

FROM ubuntu:latest
RUN apt-get update && apt-get install -y x11-apps libgtk-3-0 openssl && apt-get clean

ENTRYPOINT ["/opt/nxp/MCUX_Provi_v1/bin/securep"]

EOF

# run the secure provisioning tool in the container

sudo docker run --rm -ti -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /opt:/opt --env DISPLAY provi

You will probably need to map your data folder into the docker container using additional parameter

-v /home/myuser/data:/data

to map your folder "/home/myuser/data" into the container under folder "/data" like the /opt folder is mapped into the container.

There are few drawbacks using this workaround, e.g. all created files are owner by the "root" user.

Regards,

Libor

0 项奖励
回复