aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/SignatureManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-01-30 09:40:15 +0300
committerGravatar Vitaly Takmazov2019-01-30 09:40:15 +0300
commit8bcb61d239a9c56641d60b861a92c1a339994e52 (patch)
tree6f12aa42842544b52c3f25fe07c7f7386c638b8a /src/main/java/com/juick/server/SignatureManager.java
parentb09dac438ad29903a79916d20c90e1a2154fabf6 (diff)
Append URL if attachment can not be downloaded
Diffstat (limited to 'src/main/java/com/juick/server/SignatureManager.java')
-rw-r--r--src/main/java/com/juick/server/SignatureManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/SignatureManager.java b/src/main/java/com/juick/server/SignatureManager.java
index 23f5c37a..083a5edf 100644
--- a/src/main/java/com/juick/server/SignatureManager.java
+++ b/src/main/java/com/juick/server/SignatureManager.java
@@ -98,7 +98,7 @@ public class SignatureManager {
Verifier verifier = new Verifier(key, signature);
try {
boolean result = verifier.verify(method, path, headers);
- logger.info("signature is valid: {}", result);
+ logger.info("signature of {} is valid: {}", signature.getKeyId(), result);
if (result) {
User user = new User();
user.setUri(URI.create(person.getId()));