Skip to content

Commit

Permalink
Fix RSA signing issue (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu authored Jun 14, 2024
1 parent ab0670c commit 5e62b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightspark/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl OperationSigningKey for RSASigningKey {
}

fn sign_payload(&self, data: &[u8]) -> Result<String, CryptoError> {
crypto::sign_payload(&self.key_bytes, data)
crypto::sign_payload(data, &self.key_bytes)
}
}

Expand Down

0 comments on commit 5e62b21

Please sign in to comment.