-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
General multi* flow:
- save the detected base in the codec so that it can be used during the export
- save in ACK the raw value
- use the CODEC when printing to print it as it was in input
Printing data in multibase format
Then I print 'data' as 'multibase' # not enough, wath base should be used?
maybe
Then I print 'data' as 'base64 multibase' # base64 can be changed with all bases
?
Printing keys in multikey format
Then I print 'ecdh' from 'keyring' as 'base64 multikey'
Then I print 'ecdh public key' as 'base64 multikey'
Printing hash in multihash format
same as above
Example
Given I have a 'multikey' named 'my key' # -> ACK.my_key with base and alg in CODEC
When I create the ecdh key with secret 'my key'
When I create the ecdh public key
Then I print the 'my key'
Then I print the 'ecdh public key' as 'base64 multikey'
Metadata
Metadata
Assignees
Labels
No labels