Page MenuHomePhabricator

[identity] Delete unauthenticated UploadOneTimeKeys RPC
ClosedPublic

Authored by bartek on Nov 20 2023, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 11:13 AM
Unknown Object (File)
Sun, Dec 15, 6:48 PM
Unknown Object (File)
Sun, Dec 15, 6:48 PM
Unknown Object (File)
Sun, Dec 15, 6:48 PM
Unknown Object (File)
Sun, Dec 15, 6:42 PM
Unknown Object (File)
Sat, Dec 14, 5:41 AM
Unknown Object (File)
Fri, Nov 29, 9:44 AM
Unknown Object (File)
Nov 25 2024, 10:37 PM
Subscribers

Details

Summary

We have UploadOneTimeKeys in both authenticated and unauthenticated proto. I've removed the unauthenticated one and changed the usages to use the authenticated one.

I was curious why this wasn't done earlier, see: https://phab.comm.dev/D9059#267156

Test Plan

Ran Commtest tests changing its endpoint to use the authenticated one.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Nov 20 2023, 4:50 AM

just one question inline

services/commtest/tests/identity_access_tokens_tests.rs
38

should we modify this test to use the auth client instead of deleting it altogether?

This revision is now accepted and ready to land.Nov 20 2023, 11:35 AM
services/commtest/tests/identity_access_tokens_tests.rs
38

I deleted it because it was duplicated. Look at upload_one_time_keys() test one file above.
I think this was Jon's rebase issue when he was introducing it.