create NVS with partition generator utility

chegewara
Posts: 2210
Joined: Wed Jun 14, 2017 9:00 pm

create NVS with partition generator utility

Postby chegewara » Sun May 12, 2019 5:20 pm

Hi, i have question about file formatting to generate NVS partition. From documentation i know it is CSV file and probably i should perform some tests before i ask this question. I would like to ask how should be formatted file to build NVS partition with pem certificates?

Code: Select all

key,type,encoding,value 
namespace_name,namespace,, 
key,u8,binary,-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAyWDkMIoJYkEcUa6kzqmxyvaH806nOPmDrhn07nJwLgOm1Y4Q
jRdVATfWaU2mv/lVZaybiXqK0zXNtdIU3mRDi4pEakxDbOjnK6Kx/V0ZABiVx92k
.................
piZX3Gv++kktL44KmBTb7AZ9UP87cSZsObewz5lNJu4mSHvnJOSSX3I2G9PRpzG8
NEQbECVhPEmLV0riSIRIUYCYPdEdggY2/Tygu7y2HrDMH8l2LyU47Q==
-----END RSA PRIVATE KEY-----
Should we prepare certificate to be in one line and/or we need to add '\n' whenever each line breaks?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: create NVS with partition generator utility

Postby WiFive » Sun May 12, 2019 7:50 pm

It would be easier to do

Code: Select all

key,file,binary,cert.pem

Who is online

Users browsing this forum: No registered users and 128 guests