Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add some explanation to sign/verify message #181
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed May 23, 2017
1 parent 2b00967 commit a02389a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/signVerify/signMessage.pug
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ div
span(flex='')
md-button.md-icon-button(ng-click='$ctrl.$mdDialog.hide()', aria-label='Close dialog')
i.material-icons close
div(layout='row', layout-padding, layout-align="center center")
div(layout-margin)
i.material-icons info
p
span Signing a message with this tool indicates ownership of a privateKey (secret) and provides a level of proof that you are the owner of the key. Its important to bear in mind that this is not a 100% proof as computer systems can be compromised, but is still an effective tool for proving ownership of a particular publicKey/address pair.
br
span Note: Digital Signatures and signed messages are not encrypted!
md-divider
div(layout-padding)
form
md-input-container.md-block
Expand Down
5 changes: 5 additions & 0 deletions src/components/signVerify/verifyMessage.pug
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ div
span(flex='')
md-button.md-icon-button(ng-click='$ctrl.$mdDialog.hide()', aria-label='Close dialog')
i.material-icons close
div(layout='row', layout-padding, layout-align="center center")
div(layout-margin)
i.material-icons info
p When you have the signature, you only need the publicKey of the signer in order to verify that the message came from the right private/publicKey pair. Be aware, everybody knowing the signature and the publicKey can verify the message. If ever there is a dispute, everybody can take the publicKey and signature to a judge and prove that the message is coming from the specific private/publicKey pair.
md-divider
div(layout-padding)
form
md-input-container.md-block(ng-class='{"md-input-invalid": $ctrl.publicKey.error.invalid}')
Expand Down

0 comments on commit a02389a

Please sign in to comment.