Page MenuHomePhabricator

[identity] Delete unauthenticated UploadOneTimeKeys RPC
ClosedPublic

Authored by bartek on Nov 20 2023, 4:15 AM.
Tags
None
Referenced Files
F3366953: D9928.id33406.diff
Mon, Nov 25, 1:10 PM
Unknown Object (File)
Wed, Nov 13, 9:51 AM
Unknown Object (File)
Thu, Nov 7, 5:10 AM
Unknown Object (File)
Mon, Oct 28, 12:25 AM
Unknown Object (File)
Oct 21 2024, 2:38 AM
Unknown Object (File)
Oct 18 2024, 6:16 AM
Unknown Object (File)
Oct 18 2024, 6:16 AM
Unknown Object (File)
Oct 18 2024, 6:08 AM
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.