Skip to content

Commit

Permalink
Make BaseKeyAuthenticationParams more restrictive
Browse files Browse the repository at this point in the history
This fixes some linter errors.
  • Loading branch information
sarashub authored and vitoreiji committed Feb 5, 2025
1 parent c4c7855 commit b7d9e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/api/worker/facades/KeyAuthenticationFacade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type AuthenticationBindingData = {

type BaseKeyAuthenticationParams = {
tagType: keyof typeof systemMap
sourceOfTrust: {}
sourceOfTrust: { [name: string]: AesKey }
// this can be a user group key, an admin group key, an admin group public key or a distribution public key
untrustedKey: {}
untrustedKey: { [name: string]: AesKey | PQPublicKeys }
bindingData: AuthenticationBindingData
}

Expand Down

0 comments on commit b7d9e65

Please sign in to comment.