Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify in docs if a snapshot is sensitive data #171

Open
ahupp opened this issue Oct 7, 2024 · 2 comments
Open

Clarify in docs if a snapshot is sensitive data #171

ahupp opened this issue Oct 7, 2024 · 2 comments

Comments

@ahupp
Copy link

ahupp commented Oct 7, 2024

It's unclear from the docs; can a snapshot be turned back into a usable biscuit? I'm wondering about the contexts it would be safe to log it, and whether I need to attenuate with check if false; or something before doing so?

@divarvel
Copy link
Collaborator

divarvel commented Oct 7, 2024

Snapshots don’t contain sensitive cryptographic material, as they are built after signature verification. The only cryptographic material they contain is public keys from trusting annotations.

As such you cannot turn an authorizer into a usable biscuit without the signing private key.

As for logging, you still need to care about PII that might be contained in the biscuit or the authorizer, but that’s a separate concern.

@divarvel
Copy link
Collaborator

divarvel commented Oct 7, 2024

Stating this clearly in documentation would be a good idea indeed.

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

No branches or pull requests

2 participants