/dports/net-im/libquotient/libQuotient-0.6.8/lib/ |
H A D | encryptionmanager.cpp | 93 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 D | encryptionmanager.h | 34 const QHash<QString, QStringList>& deviceKeys);
|
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/ |
H A D | encryptionmanager.cpp | 93 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 D | encryptionmanager.h | 34 const QHash<QString, QStringList>& deviceKeys);
|
/dports/net-im/spectral/libQuotient-58dfe74390ebdd8ec6611d3b8fecfe7d051ff955/lib/csapi/ |
H A D | keys.cpp | 23 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 D | keys.h | 41 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 D | keys.cpp | 11 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 D | keys.h | 33 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 D | device_common_test.go | 328 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 D | upak_lite.go | 281 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 D | active_device.go | 462 decKeys, err := a.deviceKeys(deviceID) 493 func (a *ActiveDevice) deviceKeys(deviceID keybase1.DeviceID) (*DeviceWithKeys, error) { func
|
H A D | rpc_exim.go | 1442 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 D | upk.avdl | 84 map<KID, PublicKeyV2NaCl> deviceKeys; 136 map<KID, PublicKeyV2NaCl> deviceKeys;
|
H A D | common.avdl | 274 // 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 D | Olm.cpp | 81 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 D | SelfVerificationStatus.cpp | 143 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 D | revoke.go | 80 deviceKeys, err := me.GetComputedKeyFamily().GetAllActiveKeysForDevice(e.deviceID) 84 if len(deviceKeys) == 0 { 87 return deviceKeys, nil
|
H A D | saltpack_user_keyfinder.go | 182 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 D | ChatPage.cpp | 1140 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 D | key_bundle_v2.go | 134 if deviceKeys, ok := updatedUserKeys[uid]; ok { 137 if !deviceKeys[key] {
|
H A D | key_bundle_v3.go | 164 if deviceKeys, ok := updatedUserKeys[uid]; ok { 166 if !deviceKeys[key] {
|
/dports/security/keybase/client-v5.7.1/go/kbfs/libkbfs/ |
H A D | key_manager.go | 397 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 D | api.go | 165 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 D | internal.go | 251 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 D | client.cpp | 1220 Client::device_signing_upload(const mtx::requests::DeviceSigningUpload deviceKeys, in device_signing_upload() argument 1224 nlohmann::json req = deviceKeys; in device_signing_upload()
|