Page MenuHomePhabricator

[identity] Extract function to ed25519 verify message
ClosedPublic

Authored by bartek on Thu, May 9, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 2:29 PM
Unknown Object (File)
Sat, May 18, 2:29 PM
Unknown Object (File)
Sat, May 18, 10:34 AM
Unknown Object (File)
Sat, May 18, 7:00 AM
Unknown Object (File)
Fri, May 17, 4:35 PM
Unknown Object (File)
Fri, May 17, 1:33 PM
Unknown Object (File)
Fri, May 17, 8:58 AM
Unknown Object (File)
Wed, May 15, 6:07 PM
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
Lint Not Applicable
Unit
Tests Not Applicable