@praveen Have you seen https://xmpp.org/extensions/xep-0450.html ? There is already an implementation of it: https://www.kaidan.im/2022/08/31/e2ee-trust-management/