NOISSUE - Simplify atls provider initialization by removing external certs SDK dependency (#614)
CI / lint (push) Has been cancelled
CI / test (agent) (push) Has been cancelled
CI / test (cli) (push) Has been cancelled
CI / test (cmd) (push) Has been cancelled
CI / test (internal) (push) Has been cancelled
CI / test (manager, true) (push) Has been cancelled
CI / test (pkg) (push) Has been cancelled
CI / upload-coverage (push) Has been cancelled

Signed-off-by: Sammy Oina <sammyoina@gmail.com>
This commit is contained in:
Sammy Kerata Oina
2026-07-30 12:14:58 +03:00
committed by GitHub
parent 87f2728cc4
commit 747aaaa5eb
5 changed files with 3 additions and 53 deletions
+1 -2
View File
@@ -11,7 +11,6 @@ import (
"crypto/x509"
"fmt"
"github.com/absmach/certs/sdk"
"github.com/ultravioletrs/cocos/pkg/atls/ea"
eaattestation "github.com/ultravioletrs/cocos/pkg/atls/eaattestation"
cocosattestation "github.com/ultravioletrs/cocos/pkg/attestation"
@@ -30,7 +29,7 @@ type provider struct {
platformType cocosattestation.PlatformType
}
func NewProvider(attClient attestationclient.Client, platformType cocosattestation.PlatformType, _ string, _ string, _ sdk.SDK) (CertificateProvider, error) {
func NewProvider(attClient attestationclient.Client, platformType cocosattestation.PlatformType) (CertificateProvider, error) {
if attClient == nil {
return nil, fmt.Errorf("atls: missing attestation client")
}