Skip to content
Snippets Groups Projects
Unverified Commit 0cd88e1d authored by Bob Callaway's avatar Bob Callaway Committed by GitHub
Browse files

Change from api.rekor.dev to rekor.sigstore.dev (#306)


As we have moved away from the rekor.dev domain, switching over to
rekor.sigstore.dev for the public instance. api.sigstore.dev still works
as an alias.

Fixes #305

Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
parent e3f71a75
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ If you're interesting in integration with Rekor, we have an [OpenAPI swagger edi
## Public Instance
A public instance of rekor can be found at [api.sigstore.dev](https://api.sigstore.dev/api/v1/log/)
A public instance of rekor can be found at [rekor.sigstore.dev](https://rekor.sigstore.dev/api/v1/log/)
**IMPORTANT**: This instance is currently operated on a best-effort basis.
We **will take the log down** and reset it with zero notice.
......
......@@ -55,10 +55,10 @@ func init() {
rootCmd.PersistentFlags().String("config", "", "config file (default is $HOME/.rekor.yaml)")
rootCmd.PersistentFlags().Bool("store_tree_state", true, "whether to store tree state in between invocations for additional verification")
rootCmd.PersistentFlags().Var(&urlFlag{url: "https://api.rekor.dev"}, "rekor_server", "Server address:port")
rootCmd.PersistentFlags().Var(&urlFlag{url: "https://rekor.sigstore.dev"}, "rekor_server", "Server address:port")
rootCmd.PersistentFlags().Var(&formatFlag{format: "default"}, "format", "Command output format")
rootCmd.PersistentFlags().String("api-key", "", "API key for api.rekor.dev")
rootCmd.PersistentFlags().String("api-key", "", "API key for rekor.sigstore.dev")
// these are bound here and not in PreRun so that all child commands can use them
if err := viper.BindPFlags(rootCmd.PersistentFlags()); err != nil {
......
......@@ -19,7 +19,7 @@ info:
description: Rekor is a cryptographically secure, immutable transparency log for signed software releases.
version: 0.0.1
host: api.rekor.dev
host: rekor.sigstore.dev
schemes:
- http
......
......@@ -38,7 +38,7 @@ var Default = NewHTTPClient(nil)
const (
// DefaultHost is the default Host
// found in Meta (info) section of spec file
DefaultHost string = "api.rekor.dev"
DefaultHost string = "rekor.sigstore.dev"
// DefaultBasePath is the default BasePath
// found in Meta (info) section of spec file
DefaultBasePath string = "/"
......
......@@ -20,7 +20,7 @@
// Rekor is a cryptographically secure, immutable transparency log for signed software releases.
// Schemes:
// http
// Host: api.rekor.dev
// Host: rekor.sigstore.dev
// BasePath: /
// Version: 0.0.1
//
......
......@@ -51,7 +51,7 @@ func init() {
"title": "Rekor",
"version": "0.0.1"
},
"host": "api.rekor.dev",
"host": "rekor.sigstore.dev",
"paths": {
"/api/v1/index/retrieve": {
"post": {
......@@ -687,7 +687,7 @@ func init() {
"title": "Rekor",
"version": "0.0.1"
},
"host": "api.rekor.dev",
"host": "rekor.sigstore.dev",
"paths": {
"/api/v1/index/retrieve": {
"post": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment