- Download signature file
- Check it by running:
$ gpg --verify \
$FILENAME.sig \
$FILENAME
# If should say:
"Good signature from "Copay (visit copay.io) "
const B = require('bitcore-lib'); | |
// Example signature, from an actual jsonPaymentProtocol header. | |
const h ='6d580c9bc2fbaff7614e3a030d536417d07d6dfb93f7c8887aac4e67e27c3e32'; | |
const s ='e7a6490572855eb8feedabe32872424a2aef5b0b0f6e8b7d1959f6621de8c15a3871283a8fa78fc292444c50dc578dc58bd924d947f2ecc4bb91c250885a518a'; | |
const p ='03159069584176096f1c89763488b94dbc8d5e1fa7bf91f50b42f4befe4e45295a'; | |
hbuf = Buffer.from(h,'hex'); |
$ gpg --verify \
$FILENAME.sig \
$FILENAME
# If should say:
"Good signature from "Copay (visit copay.io) "