Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
3e25355e
Commit
3e25355e
authored
Aug 11, 2020
by
Petar Maymounkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix keystore sharness default case
parent
2b013a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/sharness/t0165-keystore.sh
test/sharness/t0165-keystore.sh
+4
-4
No files found.
test/sharness/t0165-keystore.sh
View file @
3e25355e
...
@@ -59,12 +59,12 @@ ipfs key rm key_ed25519
...
@@ -59,12 +59,12 @@ ipfs key rm key_ed25519
test_expect_success
"create a new rsa key"
'
test_expect_success
"create a new rsa key"
'
rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048
--ipns-base=b58mh
)
rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048)
echo $rsahash > rsa_key_id
echo $rsahash > rsa_key_id
'
'
test_expect_success
"create a new ed25519 key"
'
test_expect_success
"create a new ed25519 key"
'
edhash=$(ipfs key gen generated_ed25519_key --type=ed25519
--ipns-base=b58mh
)
edhash=$(ipfs key gen generated_ed25519_key --type=ed25519)
echo $edhash > ed25519_key_id
echo $edhash > ed25519_key_id
'
'
...
@@ -119,8 +119,8 @@ ipfs key rm key_ed25519
...
@@ -119,8 +119,8 @@ ipfs key rm key_ed25519
'
'
test_expect_success
"key hashes show up in long list output"
'
test_expect_success
"key hashes show up in long list output"
'
ipfs key list -l
--ipns-base=b58mh
| grep $edhash > /dev/null &&
ipfs key list -l | grep $edhash > /dev/null &&
ipfs key list -l
--ipns-base=b58mh
| grep $rsahash > /dev/null
ipfs key list -l | grep $rsahash > /dev/null
'
'
test_expect_success
"key list -l contains self key with peerID"
'
test_expect_success
"key list -l contains self key with peerID"
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment