File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/lib/gaia-x_compliance/generate-credentials Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " pontus-x_cli" ,
33 "description" : " Command Line Interface for the Pontus-X Data Space Ecosystem" ,
4- "version" : " 1.0.1 " ,
4+ "version" : " 1.0.2 " ,
55 "author" : " AgrospAI" ,
66 "bin" : {
77 "pontus-x_cli" : " bin/run.js"
Original file line number Diff line number Diff line change @@ -145,11 +145,10 @@ export async function generateCredentials(
145145 participantData . issuance_date = new Date ( ) . toISOString ( )
146146 const didJson = JSON . parse ( readFileSync ( didjsonFile , 'utf8' ) )
147147 participantData . issuer_domain = didJson . id . slice ( Math . max ( 0 , didJson . id . lastIndexOf ( ':' ) + 1 ) )
148- console . log ( `Asset DDO: ${ ddo ? JSON . stringify ( ddo , null , 2 ) : 'N/A' } ` )
149148 console . log (
150- `Generating Gaia-X credentials for ` + ddo
151- ? `asset ${ ddo ?. metadata ?. name } `
152- : `participant ${ participantData . participant_legal_name } with issuer ${ participantData . issuer_domain } ` ,
149+ `Generating Gaia-X credentials for ` +
150+ ( ddo ? `asset ${ ddo ?. metadata ?. name } ` :
151+ `participant ${ participantData . participant_legal_name } with issuer ${ participantData . issuer_domain } ...` )
153152 )
154153
155154 const pkcs1 = readFileSync ( certificateKeyFile , 'utf8' )
You can’t perform that action at this time.
0 commit comments