mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Extend local and shared credential protos to included duplicated metadata_encryption_key and metadata_encryption_key_tag for all protocol version
PiperOrigin-RevId: 538612138
This commit is contained in:
committed by
Copybara-Service
parent
e101795cac
commit
72b249474d
@@ -78,7 +78,8 @@ SharedCredential GetPublicCredential() {
|
||||
163, 203, 100, 235, 53, 65, 202, 97, 75, 180});
|
||||
SharedCredential public_credential;
|
||||
public_credential.set_key_seed(seed.AsStringView());
|
||||
public_credential.set_metadata_encryption_key_tag(known_mac.AsStringView());
|
||||
public_credential.set_metadata_encryption_key_unsigned_adv_tag(
|
||||
known_mac.AsStringView());
|
||||
return public_credential;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user