Page MenuHomePhabricator

[identity] Augment get_keyserver_keys to use devices table
ClosedPublic

Authored by bartek on Dec 12 2023, 1:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 11:44 PM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Sep 30 2024, 7:25 AM
Unknown Object (File)
Sep 19 2024, 10:20 PM
Unknown Object (File)
Sep 19 2024, 6:46 PM
Subscribers

Details

Summary

Similiar to D10303 - updated the function to try getting keyserver keys from devices table first, then fall back to the users table.

This code can be greatly simplified once we remove "legacy" devices attribute from users table.

Depends on D10303

Test Plan

Repeated steps from D10303, just made sure the device is of type keyserver. Also added one more non-keyserver device to make sure filtering is working.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage