Skip to content

Commit

Permalink
age,agessh,armor: unleash public API 💥🦑
Browse files Browse the repository at this point in the history
  • Loading branch information
FiloSottile committed Jun 28, 2020
1 parent 33355dc commit e609359
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions internal/age/age.go → age/age.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
// For most use cases, use the Encrypt and Decrypt functions with
// X25519Recipient and X25519Identity. If passphrase encryption is required, use
// ScryptRecipient and ScryptIdentity. For compatibility with existing SSH keys
// use the filippo.io/age/internal/agessh package.
// use the filippo.io/age/agessh package.
//
// Age encrypted files are binary and not malleable, for encoding them as text,
// use the filippo.io/age/internal/armor package.
// use the filippo.io/age/armor package.
package age

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/age/age_test.go → age/age_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"log"
"testing"

"filippo.io/age/internal/age"
"filippo.io/age/age"
)

func ExampleEncrypt() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/age/recipients_test.go → age/recipients_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"crypto/rand"
"testing"

"filippo.io/age/internal/age"
"filippo.io/age/age"
"filippo.io/age/internal/format"
)

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/agessh/agessh.go → agessh/agessh.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"io"
"math/big"

"filippo.io/age/internal/age"
"filippo.io/age/age"
"filippo.io/age/internal/format"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/curve25519"
Expand Down
2 changes: 1 addition & 1 deletion internal/agessh/agessh_test.go → agessh/agessh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"crypto/rsa"
"testing"

"filippo.io/age/internal/agessh"
"filippo.io/age/agessh"
"filippo.io/age/internal/format"
"golang.org/x/crypto/ssh"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"crypto/rsa"
"fmt"

"filippo.io/age/internal/age"
"filippo.io/age/age"
"golang.org/x/crypto/ssh"
)

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions internal/armor/armor_test.go → armor/armor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"strings"
"testing"

"filippo.io/age/internal/age"
"filippo.io/age/internal/armor"
"filippo.io/age/age"
"filippo.io/age/armor"
)

func ExampleNewWriter() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/age-keygen/keygen.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"os"
"time"

"filippo.io/age/internal/age"
"filippo.io/age/age"
"golang.org/x/crypto/ssh/terminal"
)

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

"filippo.io/age/internal/age"
"filippo.io/age/internal/armor"
"filippo.io/age/age"
"filippo.io/age/armor"
"golang.org/x/crypto/ssh/terminal"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/age/age_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"filippo.io/age/internal/age"
"filippo.io/age/age"
)

func TestVectors(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/age/encrypted_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"os"

"filippo.io/age/internal/age"
"filippo.io/age/age"
"golang.org/x/crypto/ssh/terminal"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/age/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"os"
"strings"

"filippo.io/age/internal/age"
"filippo.io/age/internal/agessh"
"filippo.io/age/age"
"filippo.io/age/agessh"
"golang.org/x/crypto/ssh"
)

Expand Down

0 comments on commit e609359

Please sign in to comment.