-
Notifications
You must be signed in to change notification settings - Fork 10
Conversation
Codecov Report
@@ Coverage Diff @@
## master #190 +/- ##
==========================================
+ Coverage 87.37% 87.89% +0.52%
==========================================
Files 22 22
Lines 895 909 +14
==========================================
+ Hits 782 799 +17
+ Misses 62 60 -2
+ Partials 51 50 -1
Continue to review full report at Codecov.
|
1622028
to
e3b9a8d
Compare
return nil, err | ||
} | ||
|
||
svcData, err := ioutil.ReadFile(serviceFile) //nolint: gosec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is is practical for user to provide two files (one for services and one for public keys) in order to create did? This might be ok @troyronda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems odd to me.
bc47ebd
to
e6b69df
Compare
@sandrask @troyronda @bstasyszyn I create task to refactor public key struct #191 |
7b8e4d9
to
60287da
Compare
} | ||
} else { | ||
pubKey, err = publicKeyFromPEM([]byte(keyString)) | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could have error checking outside of if
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't understand what I need to change here
5d3e2f1
to
8a890dc
Compare
closes trustbloc#29 Signed-off-by: Firas Qutishat <[email protected]>
closes #29
Signed-off-by: Firas Qutishat [email protected]