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,