Skip to content

Commit

Permalink
Remove extra line in ClearSign signing
Browse files Browse the repository at this point in the history
Fixes the verification of ClearSign signed messages by remove an extraneous line that is added where the comment used to be.
  • Loading branch information
achow101 committed Mar 11, 2016
1 parent 6546a6d commit 3a9a83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jasvet.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def ASv0(privkey, msg):

def ASv1CS(privkey, msg):
sig=ASv0(privkey, FormatText(msg))
r=BEGIN_MARKER+CLEARSIGN_MSG_TYPE_MARKER+DASHX5+RN+BITCOIN_ARMORY_COMMENT+RNRN
r=BEGIN_MARKER+CLEARSIGN_MSG_TYPE_MARKER+DASHX5+RN+BITCOIN_ARMORY_COMMENT+RN
r+=FormatText(msg)+RN
r+=ASCIIArmory(sig['signature'], BITCOIN_SIG_TYPE_MARKER)
return r
Expand Down

0 comments on commit 3a9a83d

Please sign in to comment.