mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Add sym key
This commit is contained in:
parent
3a07939b01
commit
7c4abdbb8c
13 changed files with 112 additions and 134 deletions
|
@ -5,8 +5,8 @@ import (
|
|||
"github.com/anytypeio/any-sync/commonspace/object/keychain"
|
||||
"github.com/anytypeio/any-sync/commonspace/object/tree/treechangeproto"
|
||||
"github.com/anytypeio/any-sync/util/cidutil"
|
||||
"github.com/anytypeio/any-sync/util/crypto"
|
||||
"github.com/anytypeio/any-sync/util/keys/asymmetric/signingkey"
|
||||
"github.com/anytypeio/any-sync/util/keys/symmetric"
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"time"
|
||||
)
|
||||
|
@ -21,7 +21,7 @@ type BuilderContent struct {
|
|||
Identity []byte
|
||||
IsSnapshot bool
|
||||
SigningKey signingkey.PrivKey
|
||||
ReadKey *symmetric.Key
|
||||
ReadKey *crypto.AESKey
|
||||
Content []byte
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue