Home
last modified time | relevance | path

Searched refs:deviceKeys (Results 1 – 25 of 28) sorted by relevance

12

/dports/net-im/libquotient/libQuotient-0.6.8/lib/
H A Dencryptionmanager.cpp93 QHash<QString, QueryKeysJob::DeviceInformation>>& deviceKeys) in updateDeviceKeys() argument
95 for (auto userId : deviceKeys.keys()) { in updateDeviceKeys()
96 for (auto deviceId : deviceKeys.value(userId).keys()) { in updateDeviceKeys()
97 auto info = deviceKeys.value(userId).value(deviceId); in updateDeviceKeys()
194 DeviceKeys deviceKeys { in uploadIdentityKeys() local
218 QJsonObject deviceKeysJsonObject = toJson(deviceKeys); in uploadIdentityKeys()
230 deviceKeys.signatures = { in uploadIdentityKeys()
236 d->uploadIdentityKeysJob = connection->callApi<UploadKeysJob>(deviceKeys); in uploadIdentityKeys()
313 Connection* connection, const QHash<QString, QStringList>& deviceKeys) in updateDeviceKeys() argument
315 d->queryKeysJob = connection->callApi<QueryKeysJob>(deviceKeys); in updateDeviceKeys()
[all …]
H A Dencryptionmanager.h34 const QHash<QString, QStringList>& deviceKeys);
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/
H A Dencryptionmanager.cpp93 deviceKeys) in updateDeviceKeys()
95 for (auto userId : deviceKeys.keys()) { in updateDeviceKeys()
96 for (auto deviceId : deviceKeys.value(userId).keys()) { in updateDeviceKeys()
98 deviceKeys.value(userId).value(deviceId); in updateDeviceKeys()
195 DeviceKeys deviceKeys { in uploadIdentityKeys() local
219 QJsonObject deviceKeysJsonObject = toJson(deviceKeys); in uploadIdentityKeys()
231 deviceKeys.signatures = { in uploadIdentityKeys()
237 d->uploadIdentityKeysJob = connection->callApi<UploadKeysJob>(deviceKeys); in uploadIdentityKeys()
314 Connection* connection, const QHash<QString, QStringList>& deviceKeys) in updateDeviceKeys() argument
316 d->queryKeysJob = connection->callApi<QueryKeysJob>(deviceKeys); in updateDeviceKeys()
[all …]
H A Dencryptionmanager.h34 const QHash<QString, QStringList>& deviceKeys);
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/csapi/
H A Dkeys.cpp23 UploadKeysJob::UploadKeysJob(const Omittable<DeviceKeys>& deviceKeys, in UploadKeysJob() argument
29 addParam<IfNotEmpty>(_data, QStringLiteral("device_keys"), deviceKeys); in UploadKeysJob()
83 QHash<QString, QHash<QString, DeviceInformation>> deviceKeys; member in QueryKeysJob::Private
88 QueryKeysJob::QueryKeysJob(const QHash<QString, QStringList>& deviceKeys, in QueryKeysJob() argument
95 addParam<>(_data, QStringLiteral("device_keys"), deviceKeys); in QueryKeysJob()
108 QueryKeysJob::deviceKeys() const in deviceKeys() function in QueryKeysJob
110 return d->deviceKeys; in deviceKeys()
117 fromJson(json.value("device_keys"_ls), d->deviceKeys); in parseJson()
H A Dkeys.h41 explicit UploadKeysJob(const Omittable<DeviceKeys>& deviceKeys = none,
101 explicit QueryKeysJob(const QHash<QString, QStringList>& deviceKeys,
122 const QHash<QString, QHash<QString, DeviceInformation>>& deviceKeys() const;
/dports/net-im/libquotient/libQuotient-0.6.8/lib/csapi/
H A Dkeys.cpp11 UploadKeysJob::UploadKeysJob(const Omittable<DeviceKeys>& deviceKeys, in UploadKeysJob() argument
17 addParam<IfNotEmpty>(_data, QStringLiteral("device_keys"), deviceKeys); in UploadKeysJob()
23 QueryKeysJob::QueryKeysJob(const QHash<QString, QStringList>& deviceKeys, in QueryKeysJob() argument
30 addParam<>(_data, QStringLiteral("device_keys"), deviceKeys); in QueryKeysJob()
H A Dkeys.h33 explicit UploadKeysJob(const Omittable<DeviceKeys>& deviceKeys = none,
89 explicit QueryKeysJob(const QHash<QString, QStringList>& deviceKeys,
112 QHash<QString, QHash<QString, DeviceInformation>> deviceKeys() const in deviceKeys() function
/dports/security/keybase/client-v5.7.1/go/systests/
H A Ddevice_common_test.go328 deviceKeys, backups := dev.loadEncryptionKIDs()
329 if len(deviceKeys) != 1 {
330 s.t.Fatalf("Expected 1 device back; got %d", len(deviceKeys))
335 dev.deviceKey.KID = deviceKeys[0]
490 deviceKeys, backups := d.loadEncryptionKIDs()
491 deviceKeys = s.findNewKIDs(deviceKeys)
492 if len(deviceKeys) != 1 {
495 d.deviceKey.KID = deviceKeys[0]
/dports/security/keybase/client-v5.7.1/go/libkb/
H A Dupak_lite.go281 deviceKeys := make(map[keybase1.KID]keybase1.PublicKeyV2NaCl)
285 deviceKeys[kid] = cki.exportDeviceKeyV2(kid)
289 return &deviceKeys
298 deviceKeys := extractDeviceKeys(hsc.GetComputedKeyInfos())
304 DeviceKeys: *deviceKeys,
H A Dactive_device.go462 decKeys, err := a.deviceKeys(deviceID)
493 func (a *ActiveDevice) deviceKeys(deviceID keybase1.DeviceID) (*DeviceWithKeys, error) { func
H A Drpc_exim.go1442 deviceKeys := make(map[keybase1.KID]keybase1.PublicKeyV2NaCl)
1449 deviceKeys[kid] = cki.exportDeviceKeyV2(kid)
1459 DeviceKeys: deviceKeys,
/dports/security/keybase/client-v5.7.1/protocol/avdl/keybase1/
H A Dupk.avdl84 map<KID, PublicKeyV2NaCl> deviceKeys;
136 map<KID, PublicKeyV2NaCl> deviceKeys;
H A Dcommon.avdl274 // deviceKeys is a list of active device keys. It does
276 array<PublicKey> deviceKeys;
/dports/net-im/nheko/nheko-0.9.0/src/encryption/
H A DOlm.cpp81 auto deviceKeys = cache::userKeys(local_user.to_string()); in handle_secret_request() local
82 if (!deviceKeys) in handle_secret_request()
358 auto deviceKeys = cache::userKeys(local_user.to_string()); in handle_olm_message() local
360 if (deviceKeys) { in handle_olm_message()
361 for (auto &[dev, key] : deviceKeys->device_keys) { in handle_olm_message()
1212 auto deviceKeys = cache::client()->userKeys(user); in send_encrypted_to_device_messages() local
1215 if (!deviceKeys) { in send_encrypted_to_device_messages()
1223 for (const auto &[device, keys] : deviceKeys->device_keys) { in send_encrypted_to_device_messages()
1230 if (!deviceKeys->device_keys.count(device)) { in send_encrypted_to_device_messages()
1235 auto d = deviceKeys->device_keys.at(device); in send_encrypted_to_device_messages()
[all …]
H A DSelfVerificationStatus.cpp143 auto deviceKeys = cache::client()->userKeys(http::client()->user_id().to_string()); in setupCrosssigning() local
144 if (deviceKeys) { in setupCrosssigning()
145 auto myKey = deviceKeys->device_keys.at(http::client()->device_id()); in setupCrosssigning()
/dports/security/keybase/client-v5.7.1/go/engine/
H A Drevoke.go80 deviceKeys, err := me.GetComputedKeyFamily().GetAllActiveKeysForDevice(e.deviceID)
84 if len(deviceKeys) == 0 {
87 return deviceKeys, nil
H A Dsaltpack_user_keyfinder.go182 func (e *SaltpackUserKeyfinder) isPaperEncryptionKey(key *keybase1.PublicKeyV2NaCl, deviceKeys *(ma…
183 …return libkb.KIDIsDeviceEncrypt(key.Base.Kid) && key.Parent != nil && (*deviceKeys)[*key.Parent].D…
/dports/net-im/nheko/nheko-0.9.0/src/
H A DChatPage.cpp1140 auto deviceKeys = cache::client()->userKeys(http::client()->user_id().to_string()); in decryptDownloadedSecrets() local
1148 if (deviceKeys && deviceKeys->device_keys.count(http::client()->device_id()) && in decryptDownloadedSecrets()
1150 auto myKey = deviceKeys->device_keys.at(http::client()->device_id()); in decryptDownloadedSecrets()
1167 } else if (deviceKeys && in decryptDownloadedSecrets()
1171 if (deviceKeys->master_keys.user_id == http::client()->user_id().to_string() && in decryptDownloadedSecrets()
1172 deviceKeys->master_keys.keys["ed25519:" + mk.public_key()] == mk.public_key()) { in decryptDownloadedSecrets()
1173 json j = deviceKeys->master_keys; in decryptDownloadedSecrets()
/dports/security/keybase/client-v5.7.1/go/kbfs/kbfsmd/
H A Dkey_bundle_v2.go134 if deviceKeys, ok := updatedUserKeys[uid]; ok {
137 if !deviceKeys[key] {
H A Dkey_bundle_v3.go164 if deviceKeys, ok := updatedUserKeys[uid]; ok {
166 if !deviceKeys[key] {
/dports/security/keybase/client-v5.7.1/go/kbfs/libkbfs/
H A Dkey_manager.go397 deviceKeys, ok := keys[u]
408 if !deviceKeys[key] {
422 for u, deviceKeys := range keys {
432 for key := range deviceKeys {
/dports/net-im/dendrite/dendrite-0.5.1/userapi/internal/
H A Dapi.go165 deviceKeys := make([]keyapi.DeviceKeys, len(deviceIDs))
167 deviceKeys[i] = keyapi.DeviceKeys{
177 DeviceKeys: deviceKeys,
/dports/net-im/dendrite/dendrite-0.5.1/keyserver/internal/
H A Dinternal.go251 deviceKeys, err := a.DB.DeviceKeysForUser(ctx, userID, deviceIDs)
261 for _, dk := range deviceKeys {
275 for _, dk := range deviceKeys {
/dports/net-im/mtxclient/mtxclient-0.6.0/lib/http/
H A Dclient.cpp1220 Client::device_signing_upload(const mtx::requests::DeviceSigningUpload deviceKeys, in device_signing_upload() argument
1224 nlohmann::json req = deviceKeys; in device_signing_upload()

12