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)
Sun, Apr 20, 12:29 PM
Unknown Object (File)
Sun, Apr 20, 5:10 AM
Unknown Object (File)
Sat, Apr 19, 10:41 PM
Unknown Object (File)
Sat, Apr 19, 4:27 AM
Unknown Object (File)
Wed, Apr 2, 4:32 AM
Unknown Object (File)
Mar 14 2025, 7:57 PM
Unknown Object (File)
Mar 12 2025, 9:04 PM
Unknown Object (File)
Feb 20 2025, 10:03 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