Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Alternative to auditToken #1

Description

@Kentzo

Earlier this month an Apple employee posted an update to ADC where he suggested an alternative to using the audit token:

You can use the public API to get the process ID from the connection (processIdentifier or xpc_connection_get_pid) and create your code object from that using kSecGuestAttributePid. In this case, design your IPC protocol to not accept any security-critical requests as the first message on the connection.

The idea being only the 1st message over the connection is vulnerable.

What's your opinion on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions