mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-12-12 09:54:06 +08:00
fix(oss): disable RSA min key size check for OSS callback (#3038)
This commit is contained in:
2
assets
2
assets
Submodule assets updated: 8c73fb8551...1b1f9f4c8e
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 (
|
||||
|
||||
Reference in New Issue
Block a user