Skip to content

Commit

Permalink
fix: update references to excrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
hdm committed Sep 30, 2024
1 parent 8d0c352 commit b1ad216
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
8 changes: 5 additions & 3 deletions auth/halfauth_bogus_research.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package auth

import (
"crypto"
"crypto/rand"
"crypto/rsa"
"fmt"
"io"

"crypto/rand"

"github.com/runZeroInc/excrypto/crypto"
"github.com/runZeroInc/excrypto/crypto/rsa"

"github.com/runZeroInc/excrypto/x/crypto/ssh"
)

Expand Down
3 changes: 2 additions & 1 deletion badkeys/badkeys.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package badkeys

import (
"crypto/sha256"
"encoding/json"
"fmt"
"io"
"os"
"path/filepath"

"github.com/runZeroInc/excrypto/crypto/sha256"

"github.com/runZeroInc/excrypto/x/crypto/ssh"
)

Expand Down
3 changes: 2 additions & 1 deletion badkeys/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package badkeys
import (
"bufio"
"bytes"
"crypto/sha256"
"encoding/hex"
"encoding/json"
"fmt"
Expand All @@ -15,6 +14,8 @@ import (
"sync"
"time"

"github.com/runZeroInc/excrypto/crypto/sha256"

"github.com/sirupsen/logrus"
"github.com/ulikunitz/xz"
)
Expand Down
3 changes: 2 additions & 1 deletion cmd/check_password.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package cmd

import (
"crypto/rand"
"encoding/base64"
"time"

"crypto/rand"

"github.com/runZeroInc/excrypto/x/crypto/ssh"
"github.com/runZeroInc/sshamble/auth"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/check_userenum.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package cmd

import (
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"fmt"
"math"
Expand All @@ -11,6 +10,7 @@ import (
"sync"
"time"

"github.com/runZeroInc/excrypto/crypto/sha256"
"github.com/runZeroInc/excrypto/x/crypto/ssh"
"github.com/runZeroInc/sshamble/auth"
"gonum.org/v1/gonum/stat"
Expand Down
6 changes: 3 additions & 3 deletions cmd/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package cmd
import (
"bytes"
"crypto"
"crypto/ed25519"
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"os"

"github.com/runZeroInc/excrypto/crypto/ed25519"
"github.com/runZeroInc/excrypto/crypto/rsa"
"github.com/runZeroInc/excrypto/crypto/x509"
"github.com/runZeroInc/excrypto/x/crypto/ssh"
)

Expand Down

0 comments on commit b1ad216

Please sign in to comment.