mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
chore (maintain): htpasswd failed build
This commit is contained in:
parent
b4043715d2
commit
742b5be307
12 changed files with 19 additions and 19 deletions
|
|
@ -13,9 +13,9 @@
|
|||
package apr1_crypt
|
||||
|
||||
import (
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/md5_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/md5_crypt"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -12,7 +12,7 @@ import (
|
|||
"errors"
|
||||
"strings"
|
||||
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/common"
|
||||
)
|
||||
|
||||
var ErrKeyMismatch = errors.New("hashed value is not the hash of the given password")
|
||||
|
|
@ -52,10 +52,10 @@ type Crypter interface {
|
|||
type Crypt uint
|
||||
|
||||
const (
|
||||
APR1 Crypt = iota + 1 // import "github.com/mickael-kerjean/server/plg_authenticate_htpasswd/vendor/crypt/apr1_crypt"
|
||||
MD5 // import "github.com/mickael-kerjean/server/plg_authenticate_htpasswd/vendor/crypt/md5_crypt"
|
||||
SHA256 // import "github.com/mickael-kerjean/server/plg_authenticate_htpasswd/vendor/crypt/sha256_crypt"
|
||||
SHA512 // import "github.com/mickael-kerjean/server/plg_authenticate_htpasswd/vendor/crypt/sha512_crypt"
|
||||
APR1 Crypt = iota + 1 // import "github.com/mickael-kerjean/filestash/server/plg_authenticate_htpasswd/deps/crypt/apr1_crypt"
|
||||
MD5 // import "github.com/mickael-kerjean/filestash/server/plg_authenticate_htpasswd/deps/crypt/md5_crypt"
|
||||
SHA256 // import "github.com/mickael-kerjean/filestash/server/plg_authenticate_htpasswd/deps/crypt/sha256_crypt"
|
||||
SHA512 // import "github.com/mickael-kerjean/filestash/server/plg_authenticate_htpasswd/deps/crypt/sha512_crypt"
|
||||
maxCrypt
|
||||
)
|
||||
|
||||
|
|
@ -13,8 +13,8 @@ import (
|
|||
"bytes"
|
||||
"crypto/md5"
|
||||
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/common"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -17,8 +17,8 @@ import (
|
|||
"crypto/sha256"
|
||||
"strconv"
|
||||
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/common"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -17,8 +17,8 @@ import (
|
|||
"crypto/sha512"
|
||||
"strconv"
|
||||
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/common"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/common"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -7,11 +7,11 @@ import (
|
|||
"fmt"
|
||||
. "github.com/mickael-kerjean/filestash/server/common"
|
||||
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/apr1_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/md5_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/sha256_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/vendor/crypt/sha512_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/apr1_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/md5_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/sha256_crypt"
|
||||
"github.com/mickael-kerjean/filestash/server/plugin/plg_authenticate_htpasswd/deps/crypt/sha512_crypt"
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue