diff --git a/packages/core/acme-client/src/crypto/index.js b/packages/core/acme-client/src/crypto/index.js index 7e6c1b03..79c59859 100644 --- a/packages/core/acme-client/src/crypto/index.js +++ b/packages/core/acme-client/src/crypto/index.js @@ -201,9 +201,6 @@ async function getWebCryptoKeyPair(keyPem) { } /* Decode PEM and import into CryptoKeyPair */ - if (encodingType === 'pkcs1') { - encodingType = 'pkcs8'; - } const privateKeyDec = x509.PemConverter.decodeFirst(keyPem.toString()); const privateKey = await crypto.webcrypto.subtle.importKey('pkcs8', privateKeyDec, sigalg, true, ['sign']); const publicKey = await crypto.webcrypto.subtle.importKey('jwk', jwk, sigalg, true, ['verify']); diff --git a/packages/core/pipeline/src/access/api.ts b/packages/core/pipeline/src/access/api.ts index 5343b30d..15a5339d 100644 --- a/packages/core/pipeline/src/access/api.ts +++ b/packages/core/pipeline/src/access/api.ts @@ -12,7 +12,7 @@ export type AccessDefine = Registrable & { }; }; export interface IAccessService { - getById(id: any): Promise; + getById(id: any): Promise; } // eslint-disable-next-line @typescript-eslint/no-empty-interface diff --git a/packages/ui/certd-client/public/icons/demo_index.html b/packages/ui/certd-client/public/icons/demo_index.html index a131e1be..9b6bff9a 100644 --- a/packages/ui/certd-client/public/icons/demo_index.html +++ b/packages/ui/certd-client/public/icons/demo_index.html @@ -54,6 +54,12 @@
    +
  • + +
    qiniuyun
    +
    
    +
  • +
  • aliyun
    @@ -96,7 +102,7 @@
    @font-face {
       font-family: 'iconfont';
    -  src: url('iconfont.svg?t=1726734453480#iconfont') format('svg');
    +  src: url('iconfont.svg?t=1727153857332#iconfont') format('svg');
     }
     

    第二步:定义使用 iconfont 的样式

    @@ -122,6 +128,15 @@
      +
    • + +
      + qiniuyun +
      +
      .icon-qiniuyun +
      +
    • +
    • @@ -185,6 +200,14 @@
        +
      • + +
        qiniuyun
        +
        #icon-qiniuyun
        +
      • +