mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
sm: generate new EC Public Keypair after each pairing
This commit is contained in:
parent
34b6528f7c
commit
c085d9ff20
11
CHANGELOG.md
11
CHANGELOG.md
@ -6,15 +6,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## Fixed
|
||||
### Changed
|
||||
- SM: Generate new EC Public Keypair after each pairing
|
||||
|
||||
## Changes June 2018
|
||||
|
||||
### Fixed
|
||||
- HFP: Fix Wide Band Speech bit in SDP record for both HF/AG. Missing bit prevents macOS from using mSBC
|
||||
- ATT Server: send ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE with status ATT_HANDLE_VALUE_INDICATION_DISCONNECT on disconnect
|
||||
- AVRCP Controller: fix parsing of now playing info
|
||||
|
||||
## Changed
|
||||
### Changed
|
||||
- ATT Server: ATT_HANDLE_VALUE_INDICATION_DISCONNECT is delivered to service handler if registered
|
||||
|
||||
## Added
|
||||
### Added
|
||||
- ATT Server: packet handler field added to att_service_handler_t to receive: connect/disconnect, atu exchange, indication complete
|
||||
|
||||
## Changes May 2018
|
||||
|
@ -972,6 +972,13 @@ static void sm_done_for_handle(hci_con_handle_t con_handle){
|
||||
sm_timeout_stop();
|
||||
sm_active_connection_handle = HCI_CON_HANDLE_INVALID;
|
||||
log_info("sm: connection 0x%x released setup context", con_handle);
|
||||
|
||||
#ifdef ENABLE_LE_SECURE_CONNECTIONS
|
||||
// generate new ec key after each pairing (that used it)
|
||||
if (setup->sm_use_secure_connections){
|
||||
sm_ec_generate_new_key();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user