save progress
This commit is contained in:
@@ -359,7 +359,7 @@ internal sealed class ConcelierObservationsClient : IConcelierObservationsClient
|
||||
private static (string Scope, string CacheKey) BuildScopeAndCacheKey(StellaOpsCliOptions options)
|
||||
{
|
||||
var baseScope = AuthorityTokenUtilities.ResolveScope(options);
|
||||
var finalScope = EnsureScope(baseScope, StellaOpsScopes.VulnRead);
|
||||
var finalScope = EnsureScope(baseScope, StellaOpsScopes.VulnView);
|
||||
|
||||
var credential = !string.IsNullOrWhiteSpace(options.Authority.Username)
|
||||
? $"user:{options.Authority.Username}"
|
||||
|
||||
@@ -65,7 +65,7 @@ public sealed class MirrorBundleImportService : IMirrorBundleImportService
|
||||
|
||||
// Register in catalog
|
||||
var bundleId = GenerateBundleId(manifest);
|
||||
var manifestDigest = ComputeDigest(File.ReadAllBytes(manifestResult.ManifestPath));
|
||||
var manifestDigest = ComputeDigest(File.ReadAllBytes(manifestResult.ManifestPath!));
|
||||
|
||||
var catalogEntry = new ImportModels.BundleCatalogEntry(
|
||||
request.TenantId ?? "default",
|
||||
|
||||
@@ -861,7 +861,7 @@ internal sealed partial class PromotionAssembler : IPromotionAssembler
|
||||
try
|
||||
{
|
||||
var certBytes = Convert.FromBase64String(sig.Cert);
|
||||
using var cert = new System.Security.Cryptography.X509Certificates.X509Certificate2(certBytes);
|
||||
using var cert = System.Security.Cryptography.X509Certificates.X509CertificateLoader.LoadCertificate(certBytes);
|
||||
|
||||
// Build PAE for verification
|
||||
var pae = BuildPae(envelope.PayloadType, envelope.Payload);
|
||||
|
||||
Reference in New Issue
Block a user