Skip to content

Commit 9b32bb0

Browse files
authored
Merge branch 'master' into evan-goode/custom-auth
2 parents 6abf994 + 0f6da56 commit 9b32bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/encrypt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = function (client, options) {
7979
function mcPubKeyToPem (mcPubKeyBuffer) {
8080
let pem = '-----BEGIN PUBLIC KEY-----\n'
8181
let base64PubKey = mcPubKeyBuffer.toString('base64')
82-
const maxLineLength = 65
82+
const maxLineLength = 64
8383
while (base64PubKey.length > 0) {
8484
pem += base64PubKey.substring(0, maxLineLength) + '\n'
8585
base64PubKey = base64PubKey.substring(maxLineLength)

0 commit comments

Comments
 (0)