@namespace("keybase.1") protocol gpgUi { import idl "common.avdl"; import idl "gpg_common.avdl"; record SelectKeyRes { string keyID; boolean doSecretPush; } boolean wantToAddGPGKey(int sessionID); boolean confirmDuplicateKeyChosen(int sessionID); boolean confirmImportSecretToExistingKey(int sessionID); SelectKeyRes selectKeyAndPushOption(int sessionID, array keys); string selectKey(int sessionID, array keys); string sign(bytes msg, bytes fingerprint); string getTTY(); }