Skip to content

Commit

Permalink
migrate to zitadel organisation
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlemmer committed Mar 14, 2023
1 parent 70049d7 commit 2602fc6
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 32 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
BSD 3-Clause License

Copyright (c) 2022, Tim Möhlmann
Copyright (c) 2023, The zitadel/passwap Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Passwap

[![Go Reference](https://pkg.go.dev/badge/github.com/muhlemmer/passwap.svg)](https://pkg.go.dev/github.com/muhlemmer/passwap)
[![Go](https://github.com/muhlemmer/passwap/actions/workflows/go.yml/badge.svg)](https://github.com/muhlemmer/passwap/actions/workflows/go.yml)
[![codecov](https://codecov.io/github/muhlemmer/passwap/branch/main/graph/badge.svg?token=OIGV4ZT3B5)](https://codecov.io/github/muhlemmer/passwap)
[![Go Reference](https://pkg.go.dev/badge/github.com/zitadel/passwap.svg)](https://pkg.go.dev/github.com/zitadel/passwap)
[![Go](https://github.com/zitadel/passwap/actions/workflows/go.yml/badge.svg)](https://github.com/zitadel/passwap/actions/workflows/go.yml)
[![codecov](https://codecov.io/github/zitadel/passwap/branch/main/graph/badge.svg?token=OIGV4ZT3B5)](https://codecov.io/github/zitadel/passwap)

Package passwap provides a unified implementation between
different password hashing algorithms.
Expand Down
4 changes: 2 additions & 2 deletions argon2/argon2.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"io"
"strings"

"github.com/muhlemmer/passwap/internal/salt"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
"github.com/zitadel/passwap/verifier"
"golang.org/x/crypto/argon2"
)

Expand Down
6 changes: 3 additions & 3 deletions argon2/argon2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"
"testing"

"github.com/muhlemmer/passwap/internal/salt"
tv "github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
tv "github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/verifier"
"golang.org/x/crypto/argon2"
)

Expand Down
2 changes: 1 addition & 1 deletion bcrypt/bcrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package bcrypt
import (
"bytes"

"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/verifier"
"golang.org/x/crypto/bcrypt"
)

Expand Down
6 changes: 3 additions & 3 deletions bcrypt/bcrypt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"testing"

"github.com/muhlemmer/passwap/internal/salt"
"github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
"github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/verifier"
"golang.org/x/crypto/bcrypt"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/muhlemmer/passwap
module github.com/zitadel/passwap

go 1.18

Expand Down
4 changes: 2 additions & 2 deletions md5/md5.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"io"
"strings"

"github.com/muhlemmer/passwap/internal/salt"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
"github.com/zitadel/passwap/verifier"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions md5/md5_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"testing"

"github.com/muhlemmer/passwap/internal/salt"
"github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
"github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/verifier"
)

func Test_checksum(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion passwap.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"fmt"
"strings"

"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/verifier"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions passwap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"reflect"
"testing"

"github.com/muhlemmer/passwap/argon2"
"github.com/muhlemmer/passwap/bcrypt"
tv "github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/scrypt"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/argon2"
"github.com/zitadel/passwap/bcrypt"
tv "github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/scrypt"
"github.com/zitadel/passwap/verifier"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions scrypt/scrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"math"
"strings"

"github.com/muhlemmer/passwap/internal/salt"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
"github.com/zitadel/passwap/verifier"
"golang.org/x/crypto/scrypt"
)

Expand Down
6 changes: 3 additions & 3 deletions scrypt/scrypt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"strings"
"testing"

"github.com/muhlemmer/passwap/internal/salt"
tv "github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/internal/salt"
tv "github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/verifier"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions verifier/verifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package verifier_test
import (
"testing"

"github.com/muhlemmer/passwap/argon2"
tv "github.com/muhlemmer/passwap/internal/testvalues"
"github.com/muhlemmer/passwap/verifier"
"github.com/zitadel/passwap/argon2"
tv "github.com/zitadel/passwap/internal/testvalues"
"github.com/zitadel/passwap/verifier"
)

func TestVerifyFunc_Verify(t *testing.T) {
Expand Down

0 comments on commit 2602fc6

Please sign in to comment.