
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
bitcore-message-pac
Advanced tools
bitcore-message-pac adds support for verifying and signing bitcoin messages in Node.js and web browsers.
See the main bitcore repo for more information.
npm install bitcore-message-pac
bower install bitcore-message-pac
To sign a message:
var bitcore = require('bitcore-lib-pac');
var Message = require('bitcore-message');
var privateKey = bitcore.PrivateKey.fromWIF('cSPGgk9xaL6b2HTEP4eok6ofKsSfuEaJ2AZfEDkG893WkqvVrriP');
var signature = Message('hello, world').sign(privateKey);
To verify a message:
var address = 'qUkSiJvjyUSdqzNVucqqo772qXuDTSZwQ9';
var signature = 'IM8VMj4syDmFX5a08QWF2RkwAmVQlqMZZnqwYhhkaqKhTwx7/CnYOaiq4aog/Ky3iA4R7u37U+57PGG9Cb1Hg5s=';
var verified = Message('hello, world').verify(address, signature);
See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.
Code released under the MIT license.
Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
FAQs
PAC Messages for Bitcore-PAC
We found that bitcore-message-pac demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.