Page MenuHomePhabricator

[identity] Extract function to ed25519 verify message
ClosedPublic

Authored by bartek on May 9 2024, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 6:01 PM
Unknown Object (File)
Sat, Dec 21, 6:01 PM
Unknown Object (File)
Sat, Dec 21, 6:00 PM
Unknown Object (File)
Sat, Dec 21, 6:00 PM
Unknown Object (File)
Nov 17 2024, 8:50 AM
Unknown Object (File)
Nov 17 2024, 7:45 AM
Unknown Object (File)
Nov 17 2024, 5:18 AM
Unknown Object (File)
Nov 3 2024, 5:10 AM
Subscribers

Details

Summary

This code is used in two places, and is going to be used in third one, so extracted this to a separate func.

Test Plan
  • Checked that nonces are still verified correctly (also Commtest proves it)
  • Set the KEYSERVER_PUBLIC_KEY env variable and checked that reserved usernames RPCs pass verification

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage