From 45afe1eb48a7784d44a83e401a86c875529a7ada Mon Sep 17 00:00:00 2001 From: Rohan Shrothrium Date: Mon, 16 May 2022 00:29:38 +0530 Subject: [PATCH] escape special charecters that can be set through the command line arguments Signed-off-by: Rohan Shrothrium --- cmd/fabric-ca-server/config.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/fabric-ca-server/config.go b/cmd/fabric-ca-server/config.go index 42b132bae..cdb4de0f8 100644 --- a/cmd/fabric-ca-server/config.go +++ b/cmd/fabric-ca-server/config.go @@ -68,7 +68,7 @@ const ( ############################################################################# # Version of config file -version: <<>> +version: "<<>>" # Server's listening port (default: 7054) port: 7054 @@ -159,8 +159,8 @@ registry: # Contains identity information which is used when LDAP is disabled identities: - - name: <<>> - pass: <<>> + - name: "<<>>" + pass: "<<>>" type: client affiliation: "" attrs: @@ -339,7 +339,7 @@ signing: # if the server creates a self-signed TLS certificate. ########################################################################### csr: - cn: <<>> + cn: "<<>>" keyrequest: algo: ecdsa size: 256 @@ -350,11 +350,11 @@ csr: O: Hyperledger OU: Fabric hosts: - - <<>> + - "<<>>" - localhost ca: expiry: 131400h - pathlength: <<>> + pathlength: "<<>>" ########################################################################### # Each CA can issue both X509 enrollment certificate as well as Idemix