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
|
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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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 (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue