Skip to content

Commit 5e6dd8b

Browse files
authored
Remove leading newline from clearsigned messages armoring (#1560)
1 parent 4d2cf85 commit 5e6dd8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/encoding/armor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export function armor(messageType, body, partIndex, partTotal, customComment, co
386386
result.push('-----END PGP MESSAGE, PART ' + partIndex + '-----\n');
387387
break;
388388
case enums.armor.signed:
389-
result.push('\n-----BEGIN PGP SIGNED MESSAGE-----\n');
389+
result.push('-----BEGIN PGP SIGNED MESSAGE-----\n');
390390
result.push('Hash: ' + hash + '\n\n');
391391
result.push(text.replace(/^-/mg, '- -'));
392392
result.push('\n-----BEGIN PGP SIGNATURE-----\n');

0 commit comments

Comments
 (0)