aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-08 07:03:49 +0300
committerGravatar Vitaly Takmazov2023-01-08 07:03:49 +0300
commit60bb2e97a7b9a883d40b1b48c280bfd48dd283e2 (patch)
treee5ea27c8bcdafce7133769846b572f39dde0fcf7 /src/main
parentc013950b6824788a152b4d4a03feb1d54ce608e3 (diff)
Fix public keys on Windows
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/KeystoreManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/KeystoreManager.java b/src/main/java/com/juick/KeystoreManager.java
index 952cb72c..da52411f 100644
--- a/src/main/java/com/juick/KeystoreManager.java
+++ b/src/main/java/com/juick/KeystoreManager.java
@@ -75,7 +75,7 @@ public class KeystoreManager {
}
public String getPublicKeyPem() {
- return new String(Keys.of(getPublicKey()).encode(Key.Format.PEM));
+ return new String(Keys.of(getPublicKey()).encode(Key.Format.PEM)).replace("\r\n", "\n");
}
public static java.security.Key publicKeyOf(Actor person) {