mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-17 18:52:14 -05:00
intenal: add logging to attestation issuer (#1264)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
af8c6e70ad
commit
b3486fc32b
12 changed files with 63 additions and 28 deletions
|
|
@ -35,7 +35,7 @@ type Issuer struct {
|
|||
}
|
||||
|
||||
// NewIssuer initializes a new Azure Issuer.
|
||||
func NewIssuer() *Issuer {
|
||||
func NewIssuer(log vtpm.AttestationLogger) *Issuer {
|
||||
i := &Issuer{
|
||||
hClient: &http.Client{},
|
||||
}
|
||||
|
|
@ -43,6 +43,7 @@ func NewIssuer() *Issuer {
|
|||
vtpm.OpenVTPM,
|
||||
getAttestationKey,
|
||||
i.getAttestationCert,
|
||||
log,
|
||||
)
|
||||
return i
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue