.1502411993651747:3557cd48d7c88805f3b117bd13c7bd0f_69f74adadc48703ced6d27c4.69f755d2dc48703ced6d27d3.69f755d21aa5b96c644146ea:Trae CN.T(2026/5/3 22:04:02)#295
Open
lovely90133 wants to merge 3 commits intopylessard:masterfrom
Conversation
实现安全访问级别的状态跟踪和重置功能 - 添加_unlocked_security_levels集合跟踪已解锁的安全级别 - 在会话变更、ECU复位等情况下自动重置安全状态 - 处理无效密钥响应时清除对应安全级别 - 提供get_unlocked_security_levels方法查询当前状态
实现服务、DID和例程的安全访问控制机制 - 在配置中添加protected_services、protected_dids和protected_routines选项 - 新增SecurityAccessDeniedException异常类 - 在Client类中添加安全检查方法 - 为相关服务添加安全访问验证 - 添加完整的单元测试覆盖
在请求服务前检查安全访问权限,并在超时异常时重置安全访问状态 添加相关测试用例验证安全访问重置逻辑
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(client): 添加服务调用前的安全访问检查及超时后重置安全状态
在请求服务前检查安全访问权限,并在超时异常时重置安全访问状态
添加相关测试用例验证安全访问重置逻辑