Skip to content

Commit

Permalink
fix: add did:key
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakowskiii committed Jul 28, 2023
1 parent 2542682 commit 126719f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ fn sign_message(
iat: chrono::Utc::now().timestamp(),
exp: (chrono::Utc::now() + chrono::Duration::seconds(NOTIFY_MSG_TTL as i64))
.timestamp(),
iss: notify_pubkey.to_string(),
iss: format!("did:key:{notify_pubkey}"),
ksu: client_data.ksu.to_string(),
aud: format!("did:pkh:{}", client_data.id),
act: "notify_message".to_string(),
Expand Down

0 comments on commit 126719f

Please sign in to comment.