diff options
author | Vitaly Takmazov | 2018-11-01 11:17:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-01 11:17:10 +0300 |
commit | b835d8b7e5f4a39a5d4d38f42ae260720babc7b8 (patch) | |
tree | 285b357910ebfc6f76de8ae167ffa0aa7f626e6a /juick-server/src/main/java/com | |
parent | 6180a82059a761ae0dd9faffa37dc911b006d1f4 (diff) |
log current public key
Diffstat (limited to 'juick-server/src/main/java/com')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/SignatureManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/SignatureManager.java b/juick-server/src/main/java/com/juick/server/SignatureManager.java index 8e93846f..46ffc565 100644 --- a/juick-server/src/main/java/com/juick/server/SignatureManager.java +++ b/juick-server/src/main/java/com/juick/server/SignatureManager.java @@ -64,6 +64,7 @@ public class SignatureManager { //boolean valid = verifySignature(Signature.fromString(requestHeaders.getFirst("Signature")), // keystoreManager.getPublicKey(), "POST", inbox.getPath(), headers); logger.info("Sending context: {}", jsonMapper.writeValueAsString(data)); + logger.info("Public key: {}", keystoreManager.getPublicKeyPem()); try { ResponseEntity<Void> response = apClient.postForEntity(inbox, request, Void.class); logger.info("accepted follower: {}", response.getStatusCodeValue()); |