options.go (etcd-3.5.5) | : | options.go (etcd-3.5.6) | ||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
package auth | package auth | |||
import ( | import ( | |||
"crypto/ecdsa" | "crypto/ecdsa" | |||
"crypto/rsa" | "crypto/rsa" | |||
"fmt" | "fmt" | |||
"io/ioutil" | "io/ioutil" | |||
"time" | "time" | |||
jwt "github.com/form3tech-oss/jwt-go" | "github.com/golang-jwt/jwt/v4" | |||
) | ) | |||
const ( | const ( | |||
optSignMethod = "sign-method" | optSignMethod = "sign-method" | |||
optPublicKey = "pub-key" | optPublicKey = "pub-key" | |||
optPrivateKey = "priv-key" | optPrivateKey = "priv-key" | |||
optTTL = "ttl" | optTTL = "ttl" | |||
) | ) | |||
var knownOptions = map[string]bool{ | var knownOptions = map[string]bool{ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |