Skip to content
Permalink
Browse files

Remove references to tinkpb.Keyset (#1240)

* Proto: authorizewd_keys -> authorized_keyset

* client.User

* rm core/api/type

* Read and Write []byte keysets
  • Loading branch information...
gdbelvin committed Mar 11, 2019
1 parent 89d0f47 commit 4b99d019a59480f7f3a9aab9851dbba9f8173246
@@ -27,9 +27,8 @@ import (
"github.com/spf13/viper"
"google.golang.org/grpc"

"github.com/google/keytransparency/core/client"
"github.com/google/keytransparency/core/crypto/tinkio"

tpb "github.com/google/keytransparency/core/api/type/type_go_proto"
)

var (
@@ -99,10 +98,10 @@ User email MUST match the OAuth account used to authorize the update.
if err != nil {
return fmt.Errorf("updateKeys() failed: %v", err)
}
u := &tpb.User{
UserId: userID,
u := &client.User{
UserID: userID,
PublicKeyData: profileData,
AuthorizedKeys: authorizedKeys.Keyset(),
AuthorizedKeys: authorizedKeys,
}
timeout := viper.GetDuration("timeout")
cctx, cancel := context.WithTimeout(ctx, timeout)

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 4b99d01

Please sign in to comment.
You can’t perform that action at this time.