2022-09-05 03:06:08 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-04-19 11:02:02 -04:00
|
|
|
package cloudcmd
|
|
|
|
|
|
|
|
import (
|
2022-04-27 05:17:41 -04:00
|
|
|
"crypto/sha256"
|
|
|
|
"encoding/base64"
|
2022-11-24 04:57:58 -05:00
|
|
|
"encoding/hex"
|
2022-04-19 11:02:02 -04:00
|
|
|
"testing"
|
|
|
|
|
2022-09-21 07:47:57 -04:00
|
|
|
"github.com/edgelesssys/constellation/v2/internal/atls"
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/azure/snp"
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/azure/trustedlaunch"
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/gcp"
|
2023-01-18 10:49:55 -05:00
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/idkeydigest"
|
2022-11-15 09:40:49 -05:00
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/measurements"
|
2022-09-21 07:47:57 -04:00
|
|
|
"github.com/edgelesssys/constellation/v2/internal/attestation/qemu"
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/config"
|
2022-08-12 09:59:45 -04:00
|
|
|
"github.com/spf13/cobra"
|
2022-04-19 11:02:02 -04:00
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
)
|
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
func TestNewValidator(t *testing.T) {
|
2022-11-15 09:40:49 -05:00
|
|
|
testPCRs := measurements.M{
|
2022-11-24 04:57:58 -05:00
|
|
|
0: measurements.WithAllBytes(0x00, false),
|
|
|
|
1: measurements.WithAllBytes(0xFF, false),
|
|
|
|
2: measurements.WithAllBytes(0x00, false),
|
|
|
|
3: measurements.WithAllBytes(0xFF, false),
|
|
|
|
4: measurements.WithAllBytes(0x00, false),
|
|
|
|
5: measurements.WithAllBytes(0x00, false),
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
testCases := map[string]struct {
|
2022-08-29 10:41:09 -04:00
|
|
|
provider cloudprovider.Provider
|
|
|
|
config *config.Config
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrs measurements.M
|
2022-10-05 09:02:46 -04:00
|
|
|
enforceIDKeyDigest bool
|
2023-01-18 10:49:55 -05:00
|
|
|
digest idkeydigest.IDKeyDigests
|
2022-08-31 14:10:49 -04:00
|
|
|
azureCVM bool
|
2022-08-29 10:41:09 -04:00
|
|
|
wantErr bool
|
2022-04-27 05:17:41 -04:00
|
|
|
}{
|
|
|
|
"gcp": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: testPCRs,
|
|
|
|
},
|
2022-08-31 14:10:49 -04:00
|
|
|
"azure cvm": {
|
2022-04-27 05:17:41 -04:00
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: testPCRs,
|
2022-08-31 14:10:49 -04:00
|
|
|
azureCVM: true,
|
|
|
|
},
|
|
|
|
"azure trusted launch": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: testPCRs,
|
|
|
|
azureCVM: false,
|
2022-04-27 05:17:41 -04:00
|
|
|
},
|
2022-05-02 04:54:54 -04:00
|
|
|
"qemu": {
|
|
|
|
provider: cloudprovider.QEMU,
|
|
|
|
pcrs: testPCRs,
|
|
|
|
},
|
2022-04-27 05:17:41 -04:00
|
|
|
"no pcrs provided": {
|
|
|
|
provider: cloudprovider.Azure,
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrs: measurements.M{},
|
2022-04-27 05:17:41 -04:00
|
|
|
wantErr: true,
|
|
|
|
},
|
|
|
|
"unknown provider": {
|
|
|
|
provider: cloudprovider.Unknown,
|
|
|
|
pcrs: testPCRs,
|
|
|
|
wantErr: true,
|
|
|
|
},
|
2022-08-29 10:41:09 -04:00
|
|
|
"set idkeydigest": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: testPCRs,
|
2023-01-18 10:49:55 -05:00
|
|
|
digest: idkeydigest.IDKeyDigests{[]byte("414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141")},
|
2022-10-05 09:02:46 -04:00
|
|
|
enforceIDKeyDigest: true,
|
2022-08-29 10:41:09 -04:00
|
|
|
},
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
for name, tc := range testCases {
|
|
|
|
t.Run(name, func(t *testing.T) {
|
|
|
|
assert := assert.New(t)
|
|
|
|
|
2022-05-16 12:54:25 -04:00
|
|
|
conf := &config.Config{Provider: config.ProviderConfig{}}
|
2022-04-27 05:17:41 -04:00
|
|
|
if tc.provider == cloudprovider.GCP {
|
2022-11-15 09:40:49 -05:00
|
|
|
conf.Provider.GCP = &config.GCPConfig{Measurements: tc.pcrs}
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
if tc.provider == cloudprovider.Azure {
|
2023-01-24 16:20:10 -05:00
|
|
|
conf.Provider.Azure = &config.AzureConfig{Measurements: tc.pcrs, EnforceIDKeyDigest: &tc.enforceIDKeyDigest, IDKeyDigest: tc.digest, ConfidentialVM: &tc.azureCVM}
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
2022-05-02 04:54:54 -04:00
|
|
|
if tc.provider == cloudprovider.QEMU {
|
2022-11-15 09:40:49 -05:00
|
|
|
conf.Provider.QEMU = &config.QEMUConfig{Measurements: tc.pcrs}
|
2022-05-02 04:54:54 -04:00
|
|
|
}
|
2022-04-27 05:17:41 -04:00
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
validators, err := NewValidator(tc.provider, conf)
|
2022-04-27 05:17:41 -04:00
|
|
|
|
|
|
|
if tc.wantErr {
|
|
|
|
assert.Error(err)
|
|
|
|
} else {
|
|
|
|
assert.NoError(err)
|
|
|
|
assert.Equal(tc.pcrs, validators.pcrs)
|
|
|
|
assert.Equal(tc.provider, validators.provider)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
func TestValidatorV(t *testing.T) {
|
2022-11-15 09:40:49 -05:00
|
|
|
newTestPCRs := func() measurements.M {
|
|
|
|
return measurements.M{
|
2022-11-24 04:57:58 -05:00
|
|
|
0: measurements.WithAllBytes(0x00, true),
|
|
|
|
1: measurements.WithAllBytes(0x00, true),
|
|
|
|
2: measurements.WithAllBytes(0x00, true),
|
|
|
|
3: measurements.WithAllBytes(0x00, true),
|
|
|
|
4: measurements.WithAllBytes(0x00, true),
|
|
|
|
5: measurements.WithAllBytes(0x00, true),
|
|
|
|
6: measurements.WithAllBytes(0x00, true),
|
|
|
|
7: measurements.WithAllBytes(0x00, true),
|
|
|
|
8: measurements.WithAllBytes(0x00, true),
|
|
|
|
9: measurements.WithAllBytes(0x00, true),
|
|
|
|
10: measurements.WithAllBytes(0x00, true),
|
|
|
|
11: measurements.WithAllBytes(0x00, true),
|
|
|
|
12: measurements.WithAllBytes(0x00, true),
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testCases := map[string]struct {
|
|
|
|
provider cloudprovider.Provider
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrs measurements.M
|
2022-08-09 08:04:40 -04:00
|
|
|
wantVs atls.Validator
|
2022-08-31 14:10:49 -04:00
|
|
|
azureCVM bool
|
2022-04-27 05:17:41 -04:00
|
|
|
}{
|
|
|
|
"gcp": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
2022-11-24 04:57:58 -05:00
|
|
|
wantVs: gcp.NewValidator(newTestPCRs(), nil),
|
2022-04-27 05:17:41 -04:00
|
|
|
},
|
2022-08-31 14:10:49 -04:00
|
|
|
"azure cvm": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: newTestPCRs(),
|
2023-01-18 10:49:55 -05:00
|
|
|
wantVs: snp.NewValidator(newTestPCRs(), idkeydigest.IDKeyDigests{}, false, nil),
|
2022-08-31 14:10:49 -04:00
|
|
|
azureCVM: true,
|
|
|
|
},
|
|
|
|
"azure trusted launch": {
|
2022-04-27 05:17:41 -04:00
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: newTestPCRs(),
|
2022-11-24 04:57:58 -05:00
|
|
|
wantVs: trustedlaunch.NewValidator(newTestPCRs(), nil),
|
2022-04-19 11:02:02 -04:00
|
|
|
},
|
2022-05-02 04:54:54 -04:00
|
|
|
"qemu": {
|
|
|
|
provider: cloudprovider.QEMU,
|
|
|
|
pcrs: newTestPCRs(),
|
2022-11-24 04:57:58 -05:00
|
|
|
wantVs: qemu.NewValidator(newTestPCRs(), nil),
|
2022-05-02 04:54:54 -04:00
|
|
|
},
|
2022-04-19 11:02:02 -04:00
|
|
|
}
|
|
|
|
|
2022-04-27 05:17:41 -04:00
|
|
|
for name, tc := range testCases {
|
|
|
|
t.Run(name, func(t *testing.T) {
|
|
|
|
assert := assert.New(t)
|
|
|
|
|
2022-08-31 14:10:49 -04:00
|
|
|
validators := &Validator{provider: tc.provider, pcrs: tc.pcrs, azureCVM: tc.azureCVM}
|
2022-04-27 05:17:41 -04:00
|
|
|
|
2022-08-12 09:59:45 -04:00
|
|
|
resultValidator := validators.V(&cobra.Command{})
|
2022-04-27 05:17:41 -04:00
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
assert.Equal(tc.wantVs.OID(), resultValidator.OID())
|
2022-04-27 05:17:41 -04:00
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
func TestValidatorUpdateInitPCRs(t *testing.T) {
|
2022-11-24 04:57:58 -05:00
|
|
|
zero := measurements.WithAllBytes(0x00, true)
|
|
|
|
one := measurements.WithAllBytes(0x11, true)
|
|
|
|
one64 := base64.StdEncoding.EncodeToString(one.Expected[:])
|
|
|
|
oneHash := sha256.Sum256(one.Expected[:])
|
|
|
|
pcrZeroUpdatedOne := sha256.Sum256(append(zero.Expected[:], oneHash[:]...))
|
|
|
|
newTestPCRs := func() measurements.M {
|
|
|
|
return measurements.M{
|
|
|
|
0: measurements.WithAllBytes(0x00, true),
|
|
|
|
1: measurements.WithAllBytes(0x00, true),
|
|
|
|
2: measurements.WithAllBytes(0x00, true),
|
|
|
|
3: measurements.WithAllBytes(0x00, true),
|
|
|
|
4: measurements.WithAllBytes(0x00, true),
|
|
|
|
5: measurements.WithAllBytes(0x00, true),
|
|
|
|
6: measurements.WithAllBytes(0x00, true),
|
|
|
|
7: measurements.WithAllBytes(0x00, true),
|
|
|
|
8: measurements.WithAllBytes(0x00, true),
|
|
|
|
9: measurements.WithAllBytes(0x00, true),
|
|
|
|
10: measurements.WithAllBytes(0x00, true),
|
|
|
|
11: measurements.WithAllBytes(0x00, true),
|
|
|
|
12: measurements.WithAllBytes(0x00, true),
|
|
|
|
13: measurements.WithAllBytes(0x00, true),
|
|
|
|
14: measurements.WithAllBytes(0x00, true),
|
|
|
|
15: measurements.WithAllBytes(0x00, true),
|
|
|
|
16: measurements.WithAllBytes(0x00, true),
|
|
|
|
17: measurements.WithAllBytes(0x11, true),
|
|
|
|
18: measurements.WithAllBytes(0x11, true),
|
|
|
|
19: measurements.WithAllBytes(0x11, true),
|
|
|
|
20: measurements.WithAllBytes(0x11, true),
|
|
|
|
21: measurements.WithAllBytes(0x11, true),
|
|
|
|
22: measurements.WithAllBytes(0x11, true),
|
|
|
|
23: measurements.WithAllBytes(0x00, true),
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testCases := map[string]struct {
|
|
|
|
provider cloudprovider.Provider
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrs measurements.M
|
2022-04-27 05:17:41 -04:00
|
|
|
ownerID string
|
|
|
|
clusterID string
|
|
|
|
wantErr bool
|
|
|
|
}{
|
|
|
|
"gcp update owner ID": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
ownerID: one64,
|
|
|
|
},
|
|
|
|
"gcp update cluster ID": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
clusterID: one64,
|
|
|
|
},
|
|
|
|
"gcp update both": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
ownerID: one64,
|
|
|
|
clusterID: one64,
|
|
|
|
},
|
|
|
|
"azure update owner ID": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
ownerID: one64,
|
|
|
|
},
|
|
|
|
"azure update cluster ID": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
clusterID: one64,
|
|
|
|
},
|
|
|
|
"azure update both": {
|
|
|
|
provider: cloudprovider.Azure,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
ownerID: one64,
|
|
|
|
clusterID: one64,
|
|
|
|
},
|
|
|
|
"owner ID and cluster ID empty": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
},
|
|
|
|
"invalid encoding": {
|
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: newTestPCRs(),
|
|
|
|
ownerID: "invalid",
|
|
|
|
wantErr: true,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
for name, tc := range testCases {
|
|
|
|
t.Run(name, func(t *testing.T) {
|
|
|
|
assert := assert.New(t)
|
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
validators := &Validator{provider: tc.provider, pcrs: tc.pcrs}
|
2022-04-27 05:17:41 -04:00
|
|
|
|
|
|
|
err := validators.UpdateInitPCRs(tc.ownerID, tc.clusterID)
|
|
|
|
|
|
|
|
if tc.wantErr {
|
|
|
|
assert.Error(err)
|
|
|
|
return
|
|
|
|
}
|
|
|
|
assert.NoError(err)
|
|
|
|
for i := 0; i < len(tc.pcrs); i++ {
|
|
|
|
switch {
|
2022-11-24 04:57:58 -05:00
|
|
|
case i == int(measurements.PCRIndexClusterID) && tc.clusterID == "":
|
2022-04-27 05:17:41 -04:00
|
|
|
// should be deleted
|
|
|
|
_, ok := validators.pcrs[uint32(i)]
|
|
|
|
assert.False(ok)
|
|
|
|
|
2022-11-24 04:57:58 -05:00
|
|
|
case i == int(measurements.PCRIndexClusterID):
|
2022-04-27 05:17:41 -04:00
|
|
|
pcr, ok := validators.pcrs[uint32(i)]
|
|
|
|
assert.True(ok)
|
2022-11-24 04:57:58 -05:00
|
|
|
assert.Equal(pcrZeroUpdatedOne, pcr.Expected)
|
2022-04-27 05:17:41 -04:00
|
|
|
|
2022-11-24 04:57:58 -05:00
|
|
|
case i == int(measurements.PCRIndexOwnerID) && tc.ownerID == "":
|
2022-04-27 05:17:41 -04:00
|
|
|
// should be deleted
|
|
|
|
_, ok := validators.pcrs[uint32(i)]
|
|
|
|
assert.False(ok)
|
|
|
|
|
2022-11-24 04:57:58 -05:00
|
|
|
case i == int(measurements.PCRIndexOwnerID):
|
2022-04-27 05:17:41 -04:00
|
|
|
pcr, ok := validators.pcrs[uint32(i)]
|
|
|
|
assert.True(ok)
|
2022-11-24 04:57:58 -05:00
|
|
|
assert.Equal(pcrZeroUpdatedOne, pcr.Expected)
|
2022-04-27 05:17:41 -04:00
|
|
|
|
|
|
|
default:
|
2022-10-13 06:34:32 -04:00
|
|
|
if i >= 17 && i <= 22 {
|
|
|
|
assert.Equal(one, validators.pcrs[uint32(i)])
|
|
|
|
} else {
|
|
|
|
assert.Equal(zero, validators.pcrs[uint32(i)])
|
|
|
|
}
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestUpdatePCR(t *testing.T) {
|
2022-11-15 09:40:49 -05:00
|
|
|
emptyMap := measurements.M{}
|
|
|
|
defaultMap := measurements.M{
|
2022-11-24 04:57:58 -05:00
|
|
|
0: measurements.WithAllBytes(0xAA, false),
|
|
|
|
1: measurements.WithAllBytes(0xBB, false),
|
2022-04-27 05:17:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
testCases := map[string]struct {
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrMap measurements.M
|
2022-04-27 05:17:41 -04:00
|
|
|
pcrIndex uint32
|
|
|
|
encoded string
|
|
|
|
wantEntries int
|
|
|
|
wantErr bool
|
|
|
|
}{
|
|
|
|
"empty input, empty map": {
|
|
|
|
pcrMap: emptyMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: "",
|
|
|
|
wantEntries: 0,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
|
|
|
"empty input, default map": {
|
|
|
|
pcrMap: defaultMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: "",
|
|
|
|
wantEntries: len(defaultMap),
|
|
|
|
wantErr: false,
|
|
|
|
},
|
|
|
|
"correct input, empty map": {
|
|
|
|
pcrMap: emptyMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: base64.StdEncoding.EncodeToString([]byte("Constellation")),
|
|
|
|
wantEntries: 1,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
|
|
|
"correct input, default map": {
|
|
|
|
pcrMap: defaultMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: base64.StdEncoding.EncodeToString([]byte("Constellation")),
|
|
|
|
wantEntries: len(defaultMap) + 1,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
2022-11-24 04:57:58 -05:00
|
|
|
"hex input, empty map": {
|
|
|
|
pcrMap: emptyMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: hex.EncodeToString([]byte("Constellation")),
|
|
|
|
wantEntries: 1,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
|
|
|
"hex input, default map": {
|
|
|
|
pcrMap: defaultMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: hex.EncodeToString([]byte("Constellation")),
|
|
|
|
wantEntries: len(defaultMap) + 1,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
2022-04-27 05:17:41 -04:00
|
|
|
"unencoded input, empty map": {
|
|
|
|
pcrMap: emptyMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: "Constellation",
|
|
|
|
wantEntries: 0,
|
|
|
|
wantErr: true,
|
|
|
|
},
|
|
|
|
"unencoded input, default map": {
|
|
|
|
pcrMap: defaultMap,
|
|
|
|
pcrIndex: 10,
|
|
|
|
encoded: "Constellation",
|
|
|
|
wantEntries: len(defaultMap),
|
|
|
|
wantErr: true,
|
|
|
|
},
|
|
|
|
"empty input at occupied index": {
|
|
|
|
pcrMap: defaultMap,
|
|
|
|
pcrIndex: 0,
|
|
|
|
encoded: "",
|
|
|
|
wantEntries: len(defaultMap) - 1,
|
|
|
|
wantErr: false,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
for name, tc := range testCases {
|
|
|
|
t.Run(name, func(t *testing.T) {
|
|
|
|
assert := assert.New(t)
|
|
|
|
|
2022-11-15 09:40:49 -05:00
|
|
|
pcrs := make(measurements.M)
|
2022-04-27 05:17:41 -04:00
|
|
|
for k, v := range tc.pcrMap {
|
|
|
|
pcrs[k] = v
|
|
|
|
}
|
|
|
|
|
2022-08-09 08:04:40 -04:00
|
|
|
validators := &Validator{
|
2022-04-27 05:17:41 -04:00
|
|
|
provider: cloudprovider.GCP,
|
|
|
|
pcrs: pcrs,
|
|
|
|
}
|
|
|
|
err := validators.updatePCR(tc.pcrIndex, tc.encoded)
|
|
|
|
|
|
|
|
if tc.wantErr {
|
|
|
|
assert.Error(err)
|
|
|
|
} else {
|
|
|
|
assert.NoError(err)
|
|
|
|
}
|
|
|
|
assert.Len(pcrs, tc.wantEntries)
|
2022-04-19 11:02:02 -04:00
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|