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)
Sun, Nov 3, 5:10 AM
Unknown Object (File)
Sat, Oct 26, 1:33 PM
Unknown Object (File)
Wed, Oct 23, 6:41 AM
Unknown Object (File)
Wed, Oct 23, 4:54 AM
Unknown Object (File)
Wed, Oct 23, 1:55 AM
Unknown Object (File)
Wed, Oct 23, 12:51 AM
Unknown Object (File)
Tue, Oct 22, 5:56 AM
Unknown Object (File)
Mon, Oct 21, 9:13 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