From 2f97531d78507165fb0de3cd0ac6d4a4fc54edc6 Mon Sep 17 00:00:00 2001 From: uael Date: Thu, 21 Sep 2023 15:24:31 -0700 Subject: [PATCH] pandora: use public identity address for public addresses --- bumble/pandora/security.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bumble/pandora/security.py b/bumble/pandora/security.py index 99695d92..0f315120 100644 --- a/bumble/pandora/security.py +++ b/bumble/pandora/security.py @@ -233,7 +233,11 @@ class SecurityService(SecurityServicer): sc=config.pairing_sc_enable, mitm=config.pairing_mitm_enable, bonding=config.pairing_bonding_enable, - identity_address_type=config.identity_address_type, + identity_address_type=( + PairingConfig.AddressType.PUBLIC + if connection.self_address.is_public + else config.identity_address_type + ), delegate=PairingDelegate( connection, self,