mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
oid: add alternative string representations for attestation variants (#1322)
This commit is contained in:
parent
a5d4970753
commit
ab0b881cbf
10 changed files with 81 additions and 22 deletions
|
@ -400,14 +400,14 @@ func TestAttestation(t *testing.T) {
|
|||
netDialer := testdialer.NewBufconnDialer()
|
||||
newDialer := func(v *cloudcmd.Validator) *dialer.Dialer {
|
||||
validator := &testValidator{
|
||||
Getter: oid.QEMU{},
|
||||
Getter: oid.QEMUVTPM{},
|
||||
pcrs: v.PCRS(),
|
||||
}
|
||||
return dialer.New(nil, validator, netDialer)
|
||||
}
|
||||
|
||||
issuer := &testIssuer{
|
||||
Getter: oid.QEMU{},
|
||||
Getter: oid.QEMUVTPM{},
|
||||
pcrs: map[uint32][]byte{
|
||||
0: bytes.Repeat([]byte{0xFF}, 32),
|
||||
1: bytes.Repeat([]byte{0xFF}, 32),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue