mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2025-12-25 15:42:47 +00:00
fix(oss): disable RSA min key size check for OSS callback (#3038)
This commit is contained in:
parent
6ad72e07f4
commit
67c6f937c9
2
assets
2
assets
|
|
@ -1 +1 @@
|
|||
Subproject commit 8c73fb8551cf79dfd4f73885987593c0fb695b10
|
||||
Subproject commit 1b1f9f4c8e35d72ac60216af611c81355bd4f7ce
|
||||
2
main.go
2
main.go
|
|
@ -1,8 +1,10 @@
|
|||
//go:debug rsa1024min=0
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
"flag"
|
||||
|
||||
"github.com/cloudreve/Cloudreve/v4/cmd"
|
||||
"github.com/cloudreve/Cloudreve/v4/pkg/util"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -10,12 +10,13 @@ import (
|
|||
"encoding/pem"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/cloudreve/Cloudreve/v4/pkg/cache"
|
||||
"github.com/cloudreve/Cloudreve/v4/pkg/request"
|
||||
"io"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudreve/Cloudreve/v4/pkg/cache"
|
||||
"github.com/cloudreve/Cloudreve/v4/pkg/request"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Reference in New Issue