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

sdk failed decrypt verbose logs #955

Open
strantalis opened this issue Jun 10, 2024 · 0 comments
Open

sdk failed decrypt verbose logs #955

strantalis opened this issue Jun 10, 2024 · 0 comments
Labels
comp:kas Key Access Server comp:sdk A software development kit, including library, for client applications and inter-service communicati Stale

Comments

@strantalis
Copy link
Member

When a decrypt fails based on a rewrap from kas the log message is very verbose currently. It would be nice to keep this simple to just Permission Denied and maybe Internal Server Error if KAS experienced something unexpected.

   ERROR    Failed to decrypt file: reader.WriteTo failed: doPayloadKeyUnwrap splitKey.rewrap failed: error making request to kas: error making rewrap request: rpc error: code = PermissionDenied desc = request error
            rpc error: code = PermissionDenied desc = forbidden

We could probably introduce a common set of error types for rewrap that might help as well.

@strantalis strantalis added comp:sdk A software development kit, including library, for client applications and inter-service communicati comp:kas Key Access Server labels Jun 10, 2024
@github-actions github-actions bot added the Stale label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:kas Key Access Server comp:sdk A software development kit, including library, for client applications and inter-service communicati Stale
Projects
None yet
Development

No branches or pull requests

1 participant