refactor: module github.com/luxfi/age (renamed from filippo.io/age)

This commit is contained in:
Hanzo AI
2026-04-09 16:45:01 -07:00
parent c2dce32ccc
commit 7fff7daa2f
40 changed files with 86 additions and 86 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ import (
"slices"
"sort"
"filippo.io/age/internal/format"
"filippo.io/age/internal/stream"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/internal/stream"
)
// An Identity is passed to [Decrypt] to unwrap an opaque file key from a
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"strings"
"testing"
"filippo.io/age"
"github.com/luxfi/age"
)
func ExampleEncrypt() {
+2 -2
View File
@@ -23,8 +23,8 @@ import (
"fmt"
"io"
"filippo.io/age"
"filippo.io/age/internal/format"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/format"
"filippo.io/edwards25519"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/curve25519"
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"reflect"
"testing"
"filippo.io/age/agessh"
"github.com/luxfi/age/agessh"
"golang.org/x/crypto/ssh"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"crypto/rsa"
"fmt"
"filippo.io/age"
"github.com/luxfi/age"
"golang.org/x/crypto/ssh"
)
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"fmt"
"io"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/format"
)
const (
+3 -3
View File
@@ -18,9 +18,9 @@ import (
"strings"
"testing"
"filippo.io/age"
"filippo.io/age/armor"
"filippo.io/age/internal/format"
"github.com/luxfi/age"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/format"
)
func ExampleNewWriter() {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"os"
"runtime/debug"
"filippo.io/age/internal/inspect"
"github.com/luxfi/age/internal/inspect"
)
const usage = `Usage:
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"runtime/debug"
"time"
"filippo.io/age"
"github.com/luxfi/age"
"golang.org/x/term"
)
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"strconv"
"strings"
"filippo.io/age"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
)
const usage = `age-plugin-batchpass is an age plugin that enables non-interactive
+5 -5
View File
@@ -20,11 +20,11 @@ import (
"strings"
"unicode"
"filippo.io/age"
"filippo.io/age/agessh"
"filippo.io/age/armor"
"filippo.io/age/internal/term"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/agessh"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/term"
"github.com/luxfi/age/plugin"
)
const usage = `Usage:
+5 -5
View File
@@ -11,8 +11,8 @@ import (
"sync"
"testing"
"filippo.io/age"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
"github.com/rogpeppe/go-internal/testscript"
)
@@ -58,9 +58,9 @@ var buildExtraCommands = sync.OnceValue(func() error {
if testing.CoverMode() != "" {
cmd.Args = append(cmd.Args, "-cover")
}
cmd.Args = append(cmd.Args, "filippo.io/age/cmd/age-keygen")
cmd.Args = append(cmd.Args, "filippo.io/age/extra/age-plugin-pq")
cmd.Args = append(cmd.Args, "filippo.io/age/cmd/age-plugin-batchpass")
cmd.Args = append(cmd.Args, "github.com/luxfi/age/cmd/age-keygen")
cmd.Args = append(cmd.Args, "github.com/luxfi/age/extra/age-plugin-pq")
cmd.Args = append(cmd.Args, "github.com/luxfi/age/cmd/age-plugin-batchpass")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd.Run()
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"errors"
"fmt"
"filippo.io/age"
"github.com/luxfi/age"
)
// LazyScryptIdentity is an age.Identity that requests a passphrase only if it
+6 -6
View File
@@ -13,12 +13,12 @@ import (
"strings"
"unicode/utf8"
"filippo.io/age"
"filippo.io/age/agessh"
"filippo.io/age/armor"
"filippo.io/age/internal/term"
"filippo.io/age/plugin"
"filippo.io/age/tag"
"github.com/luxfi/age"
"github.com/luxfi/age/agessh"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/term"
"github.com/luxfi/age/plugin"
"github.com/luxfi/age/tag"
"golang.org/x/crypto/cryptobyte"
"golang.org/x/crypto/ssh"
)
+2 -2
View File
@@ -23,8 +23,8 @@ import (
"log"
"os"
"filippo.io/age/armor"
"filippo.io/age/internal/term"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/term"
)
// l is a logger with no prefixes.
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"os"
"runtime/debug"
"filippo.io/age"
"filippo.io/age/internal/bech32"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/bech32"
"github.com/luxfi/age/plugin"
)
const usage = `Usage:
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"os"
"runtime/debug"
"filippo.io/age"
"filippo.io/age/plugin"
"filippo.io/age/tag"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
"github.com/luxfi/age/tag"
)
const usage = `age-plugin-tag is an age plugin for P-256 tagged recipients. These are supported
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"os"
"runtime/debug"
"filippo.io/age"
"filippo.io/age/plugin"
"filippo.io/age/tag"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
"github.com/luxfi/age/tag"
)
const usage = `age-plugin-tagpq is an age plugin for ML-KEM-768 + P-256 post-quantum hybrid
+1 -1
View File
@@ -1,4 +1,4 @@
module filippo.io/age
module github.com/luxfi/age
go 1.24.0
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"strings"
"testing"
"filippo.io/age/internal/bech32"
"github.com/luxfi/age/internal/bech32"
)
func TestBech32(t *testing.T) {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"path/filepath"
"testing"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/format"
)
func TestStanzaMarshal(t *testing.T) {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"io"
"strings"
"filippo.io/age/armor"
"filippo.io/age/internal/format"
"filippo.io/age/internal/stream"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/internal/stream"
)
type Metadata struct {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"testing"
"filippo.io/age/internal/format"
"filippo.io/age/internal/stream"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/internal/stream"
)
// buildFile serializes a header with a single stanza of the given type,
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"testing"
"testing/iotest"
"filippo.io/age/internal/stream"
"github.com/luxfi/age/internal/stream"
"golang.org/x/crypto/chacha20poly1305"
)
+2 -2
View File
@@ -21,8 +21,8 @@ import (
exec "golang.org/x/sys/execabs"
"filippo.io/age"
"filippo.io/age/internal/format"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/format"
)
type Recipient struct {
+2 -2
View File
@@ -17,8 +17,8 @@ import (
"strings"
"testing"
"filippo.io/age"
"filippo.io/age/internal/bech32"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/bech32"
)
func TestMain(m *testing.M) {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"fmt"
"strings"
"filippo.io/age/internal/bech32"
"github.com/luxfi/age/internal/bech32"
"filippo.io/hpke"
)
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"log"
"os"
"filippo.io/age"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
)
type Recipient struct{}
+2 -2
View File
@@ -17,8 +17,8 @@ import (
"slices"
"strconv"
"filippo.io/age"
"filippo.io/age/internal/format"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/format"
)
// TODO: add plugin test framework.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"filippo.io/age/internal/term"
"github.com/luxfi/age/internal/term"
)
// NewTerminalUI returns a [ClientUI] that uses the terminal to request inputs,
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"fmt"
"strings"
"filippo.io/age/internal/bech32"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/bech32"
"github.com/luxfi/age/internal/format"
"filippo.io/hpke"
"golang.org/x/crypto/chacha20poly1305"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"errors"
"io"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/format"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/hkdf"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"io"
"testing"
"filippo.io/age"
"github.com/luxfi/age"
)
func TestX25519RoundTrip(t *testing.T) {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"regexp"
"strconv"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/format"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/scrypt"
)
@@ -13,9 +13,9 @@ import (
"log"
"os"
"filippo.io/age"
"filippo.io/age/plugin"
"filippo.io/age/tag/internal/tagtest"
"github.com/luxfi/age"
"github.com/luxfi/age/plugin"
"github.com/luxfi/age/tag/internal/tagtest"
)
const classicRecipient = "age1tag1qwe0kafsjrar4txm6heqnhpfuggzr0gvznz7fvygxrlq90u5mq2pysxtw6h"
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"crypto/subtle"
"fmt"
"filippo.io/age"
"filippo.io/age/internal/format"
"filippo.io/age/tag"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/tag"
"filippo.io/hpke"
"filippo.io/nistec"
)
+3 -3
View File
@@ -20,9 +20,9 @@ import (
"fmt"
"slices"
"filippo.io/age"
"filippo.io/age/internal/format"
"filippo.io/age/plugin"
"github.com/luxfi/age"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/plugin"
"filippo.io/hpke"
"filippo.io/nistec"
)
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"io"
"testing"
"filippo.io/age"
"filippo.io/age/tag"
"filippo.io/age/tag/internal/tagtest"
"github.com/luxfi/age"
"github.com/luxfi/age/tag"
"github.com/luxfi/age/tag/internal/tagtest"
)
func TestClassicRoundTrip(t *testing.T) {
+5 -5
View File
@@ -17,11 +17,11 @@ import (
"strings"
"testing"
"filippo.io/age"
"filippo.io/age/armor"
"filippo.io/age/internal/format"
"filippo.io/age/internal/inspect"
"filippo.io/age/internal/stream"
"github.com/luxfi/age"
"github.com/luxfi/age/armor"
"github.com/luxfi/age/internal/format"
"github.com/luxfi/age/internal/inspect"
"github.com/luxfi/age/internal/stream"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/hkdf"
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"io"
"strings"
"filippo.io/age/internal/bech32"
"filippo.io/age/internal/format"
"github.com/luxfi/age/internal/bech32"
"github.com/luxfi/age/internal/format"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/curve25519"
"golang.org/x/crypto/hkdf"