Skip to content

Add Security OSStatus error codes#11

Draft
paulmgeurts wants to merge 1 commit into
AvdLee:mainfrom
paulmgeurts:codex/issue-1021-security-osstatus-codes
Draft

Add Security OSStatus error codes#11
paulmgeurts wants to merge 1 commit into
AvdLee:mainfrom
paulmgeurts:codex/issue-1021-security-osstatus-codes

Conversation

@paulmgeurts
Copy link
Copy Markdown

Summary

  • Add a Security error domain with common errSec OSStatus values from Apple's SecBase.h.
  • Cover Security lookups with code-only and domain-qualified tests.

Issue Addendum

Addresses AvdLee/RocketSimApp#1021 from the RocketSim low-effort audit. The RocketSim app consumes this utility through the WhatTheErrorCode package, so the database change belongs upstream rather than in the RocketSim app repository.

Verification

  • PASS: env CLANG_MODULE_CACHE_PATH=/private/tmp/WhatTheErrorCode-1021-clang-cache swift test --scratch-path /private/tmp/WhatTheErrorCode-1021-build
  • NOTE: plain swift test first failed in this sandbox because SwiftPM attempted to write the manifest/module cache under the home directory; rerunning with temp cache paths succeeded.

@bkolkman-cb
Copy link
Copy Markdown

https://osstatus.com/search/results?platform=all&framework=security&search=
There's a lot more in the Security framework according to the OSStatus page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants