File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ func Test_client_005(t *testing.T) {
44
44
// Login a new session
45
45
err = client .Login (bitwarden .OptForce ())
46
46
assert .NoError (err )
47
-
48
- // Create a master key
49
- session := client .Session ()
50
- assert .True (session .IsValid ())
51
- masterKey := session .MakeInternalKey (strings .ToLower (GetEmail (t )), GetPassword (t ))
52
- assert .NotNil (masterKey )
53
47
}
54
48
55
49
///////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -2,13 +2,11 @@ package bitwarden_test
2
2
3
3
import (
4
4
"os"
5
- "strings"
6
5
"testing"
7
6
8
7
// Packages
9
8
opts "github.com/mutablelogic/go-client"
10
9
bitwarden "github.com/mutablelogic/go-client/pkg/bitwarden"
11
- crypto "github.com/mutablelogic/go-client/pkg/bitwarden/crypto"
12
10
schema "github.com/mutablelogic/go-client/pkg/bitwarden/schema"
13
11
assert "github.com/stretchr/testify/assert"
14
12
)
@@ -33,18 +31,6 @@ func Test_sync_001(t *testing.T) {
33
31
t .SkipNow ()
34
32
}
35
33
assert .NotNil (profile )
36
-
37
- // Decrypt
38
- encryptedKey , err := crypto .NewEncrypted (profile .Key )
39
- if ! assert .NoError (err ) {
40
- t .FailNow ()
41
- }
42
-
43
- session := client .Session ()
44
- decryptKey := session .MakeDecryptKey (strings .ToLower (profile .Email ), GetPassword (t ), encryptedKey )
45
- if ! assert .NotNil (decryptKey ) {
46
- t .FailNow ()
47
- }
48
34
}
49
35
50
36
func Test_sync_002 (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments