Skip to content

Commit

Permalink
Use SHA256 for custom nonce as well (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
dejanskledar authored Aug 29, 2024
1 parent cb1cfb4 commit f4e932d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apple/AppleAuthenticator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private extension AppleAuthenticator {
}
request.nonce = generateNonceString(length: length).sha256
case .custom(let value):
request.nonce = value
request.nonce = value.sha256
case .none:
break
}
Expand Down

0 comments on commit f4e932d

Please sign in to comment.