
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
_ _
(_) (_)
___ ___ ___ _ __ _ _ __ _ ___
/ __/ _ \/ __| |/ _` | '_ \ | |/ _ \
| (_| (_) \__ \ | (_| | | | |_| | (_) |
\___\___/|___/_|\__, |_| |_(_)_|\___/
__/ |
An open, secure |___/ identity platform.
type `help`, if you like ;)
cosign$
you should get a print like above with the following steps:
$ npm install cosign-cli
$ cosign-cli
After installing cosign-cli, continue to:
To create a working setup, you need to execute the following steps:
Install the cosign-cli as described, then run the generate command. A secret seed for your key will be generated and displayed as mnemonic.
cosign$ generate
Your mnemonic is:
***** ***** ******* ***** ******* **** ******* ****** ****** ****** ******* *****
confirm to remove from screen:
Make sure to note the mnemonic. The mnemonic will be removed from the terminal history after you press a key and will be lost after restart of the CLI.
Now that you have generated a key in the previous step, continue to register it with this command:
cosign$ register your@email.com
Email verification requested. A crypto-fulfillment will be sent to you.
You will receive an email similar to this one:
Dear customer,
We have received a request to authorize this email address for Cosign.io. If you requested this verification, please return the following crypto fulfillment:
cf:0:RoFF18igQ7msaEjUKU21zw
Note the line starting with cf:0:. This is a crypto-fulfillment. Return it to the CLI with the confirm command. You should receive status information of your registered key.
cosign$ confirm cf:0:RoFF18igQ7msaEjUKU21zw
cosign-id: 0092a8ff
balance: 0.0
email: your@email.com
As you see, your key starts with a 0.0 balance. You can top-up your balance by claiming a voucher.
When restarting the CLI, all state is reset. You need to load your key again by using the load command. A password-like prompt will ask for a mnemonic or ECDSA hex private key.
cosign$ load
Please enter a mnemonic or hex string to load your key:
mnemonic/hex: *********************************************
Key loded successfully.
To top-up the balance of a key, purchase a voucher at the shop.
After the purchase, you will receive and email with a crypto-fulfillment, similar to this:
cf:37:eyJpcPI4-v.Z_x4-gc3
To claim the voucher you need to:
If you haven't installed the CLI yet, follow these instructions.
If you haven't generated and registered a key yet, please execute these steps first.
After restarting the CLI, make sure to load your key back into memory.
Once you are able to display key status information, including a balance, please proceed.
use the claim <fulfillment> command to claim. A successful claim will result in a notice sent to your email and your balance updated.
cosign$ claim cf:37:eyJpcPI4-v.Z_x4-gc3
cosign-id: 0092a8ff
balance: 20.0
email: your@email.com
FAQs
Command line interface for cosign.io
We found that cosign-cli 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.