@tdxvolt/volt-client-grpc 0.16.0-beta.2 → 0.16.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +3 -1
- package/package.json +1 -1
- package/src/volt-client-internal.js +3 -1
package/lib/index.cjs
CHANGED
|
@@ -1812,7 +1812,9 @@ async function authenticateInternal(createDID = true) {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
|
|
1814
1814
|
const keyPair = this._credential.getKey();
|
|
1815
|
-
const publicKeyPem =
|
|
1815
|
+
const publicKeyPem = removeCarriageReturn(
|
|
1816
|
+
pki.publicKeyToPem(keyPair.publicKey)
|
|
1817
|
+
);
|
|
1816
1818
|
|
|
1817
1819
|
if (!this._credential.cache.bindIp) {
|
|
1818
1820
|
// Default the IP address if none is specified. This is used to set the SAN in the
|
package/package.json
CHANGED
|
@@ -128,7 +128,9 @@ export async function authenticateInternal(createDID = true) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
const keyPair = this._credential.getKey();
|
|
131
|
-
const publicKeyPem =
|
|
131
|
+
const publicKeyPem = voltUtils.removeCarriageReturn(
|
|
132
|
+
pki.publicKeyToPem(keyPair.publicKey)
|
|
133
|
+
);
|
|
132
134
|
|
|
133
135
|
if (!this._credential.cache.bindIp) {
|
|
134
136
|
// Default the IP address if none is specified. This is used to set the SAN in the
|