1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 17:45:03 +09:00

WIP refactor crypto proto

This commit is contained in:
mcrakhman 2023-03-24 11:45:39 +01:00 committed by Mikhail Iudin
parent 2072bbb998
commit 3a07939b01
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
29 changed files with 1187 additions and 1024 deletions

View file

@ -14,7 +14,7 @@ import (
"github.com/anytypeio/any-sync/commonspace/settings/settingsstate"
"github.com/anytypeio/any-sync/commonspace/settings/settingsstate/mock_settingsstate"
"github.com/anytypeio/any-sync/commonspace/spacestorage/mock_spacestorage"
"github.com/anytypeio/any-sync/util/keys/asymmetric/signingkey"
"github.com/anytypeio/any-sync/util/crypto"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
"sync"
@ -149,7 +149,7 @@ func TestSettingsObject_DeleteObject(t *testing.T) {
accountData := &accountdata.AccountData{
Identity: []byte("id"),
PeerKey: nil,
SignKey: &signingkey.Ed25519PrivateKey{},
SignKey: &crypto.Ed25519PrivKey{},
EncKey: nil,
}
fx.account.EXPECT().Account().Return(accountData)