Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
all: remove x/crypto/acme copy; move up cmd/acme
Browse files Browse the repository at this point in the history
Now that golang.org/x/crypto/acme is public,
there's no reason to keep the copy of the package here.

So, we only left with command line tool: move up to the root.
Go-gettable binary can now be built with:

    go get -u github.com/google/acme
  • Loading branch information
Alex Vaghin committed Sep 20, 2016
1 parent 0381b03 commit 4ce0cda
Show file tree
Hide file tree
Showing 18 changed files with 200 additions and 34 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
# acme

ACME-compliant Go client library and a command line tool. Neither has 3rd party dependencies.
Also, see https://letsencrypt.org.
A simple command line tool to manage TLS certificates with ACME-compliant CAs,
which has no third party depedencies.

Contents of this repo:

* `/` - ACME client Go package. See [godoc for acme package](https://godoc.org/github.com/google/acme).
The package has been imported to golang.org/x/crypto/acme/internal/acme. I will keep
github.com/google/acme package mirroring crypto/acme/internal/acme until it becomes exported
as `golang.org/x/crypto/acme`.
* `/cmd/acme/` - cli tool, similar to the official `letsencrypt`.
If you're looking for a package to import in your program, `golang.org/x/crypto/acme`
or `golang.org/x/crypto/acme/autocert` is what you'll want instead.

*This package is a work in progress and makes no API stability promises.*

## command line tool usage
## Usage

Quick install with `go get -u github.com/google/acme/cmd/acme`.
Quick install with `go get -u github.com/google/acme`.

1. You need to have a user account, registered with the CA. This is represented
by an RSA private key.
Expand Down Expand Up @@ -80,3 +75,5 @@ Quick install with `go get -u github.com/google/acme/cmd/acme`.
## License

(c) Google, 2015. Licensed under [Apache-2](LICENSE) license.

This is not an official Google product.
3 changes: 1 addition & 2 deletions cmd/acme/cert.go → cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ import (
"path/filepath"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"

"github.com/google/acme"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/acme/config.go → config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strings"
"text/tabwriter"

"github.com/google/acme"
"golang.org/x/crypto/acme"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/acme/config_test.go → config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"reflect"
"testing"

"github.com/google/acme"
"golang.org/x/crypto/acme"
)

func TestConfigReadWrite(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions cmd/acme/reg.go → reg.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import (
"strings"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"

"github.com/google/acme"
)

var (
Expand Down
3 changes: 1 addition & 2 deletions cmd/acme/update.go → update.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ import (
"path/filepath"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"

"github.com/google/acme"
)

var (
Expand Down
File renamed without changes.
27 changes: 27 additions & 0 deletions vendor/golang.org/x/crypto/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vendor/golang.org/x/crypto/PATENTS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 65 additions & 10 deletions acme.go → vendor/golang.org/x/crypto/acme/acme.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 59 additions & 3 deletions acme_test.go → vendor/golang.org/x/crypto/acme/acme_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"comment": "",
"ignore": "",
"package": [
{
"checksumSHA1": "Z+5Zyn58FeBHRkwQWC2SotL9cUo=",
"path": "golang.org/x/crypto/acme",
"revision": "97c09c959785e78cf1218e4abc17845d0f0948e6",
"revisionTime": "2016-09-12T10:18:32Z"
}
],
"rootPath": "github.com/google/acme"
}
3 changes: 1 addition & 2 deletions cmd/acme/who.go → who.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ import (
"path/filepath"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"

"github.com/google/acme"
)

var (
Expand Down

0 comments on commit 4ce0cda

Please sign in to comment.