aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-01 11:17:10 +0300
committerGravatar Vitaly Takmazov2018-11-01 11:17:10 +0300
commitb835d8b7e5f4a39a5d4d38f42ae260720babc7b8 (patch)
tree285b357910ebfc6f76de8ae167ffa0aa7f626e6a /juick-server/src/main
parent6180a82059a761ae0dd9faffa37dc911b006d1f4 (diff)
log current public key
Diffstat (limited to 'juick-server/src/main')
-rw-r--r--juick-server/src/main/java/com/juick/server/SignatureManager.java1
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());