fix(oss): disable RSA min key size check for OSS callback (#3038)

This commit is contained in:
Aaron Liu 2025-11-15 11:59:09 +08:00
parent 6ad72e07f4
commit 67c6f937c9
3 changed files with 6 additions and 3 deletions

2
assets

@ -1 +1 @@
Subproject commit 8c73fb8551cf79dfd4f73885987593c0fb695b10 Subproject commit 1b1f9f4c8e35d72ac60216af611c81355bd4f7ce

View File

@ -1,8 +1,10 @@
//go:debug rsa1024min=0
package main package main
import ( import (
_ "embed" _ "embed"
"flag" "flag"
"github.com/cloudreve/Cloudreve/v4/cmd" "github.com/cloudreve/Cloudreve/v4/cmd"
"github.com/cloudreve/Cloudreve/v4/pkg/util" "github.com/cloudreve/Cloudreve/v4/pkg/util"
) )

View File

@ -10,12 +10,13 @@ import (
"encoding/pem" "encoding/pem"
"errors" "errors"
"fmt" "fmt"
"github.com/cloudreve/Cloudreve/v4/pkg/cache"
"github.com/cloudreve/Cloudreve/v4/pkg/request"
"io" "io"
"net/http" "net/http"
"net/url" "net/url"
"strings" "strings"
"github.com/cloudreve/Cloudreve/v4/pkg/cache"
"github.com/cloudreve/Cloudreve/v4/pkg/request"
) )
const ( const (