
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
openbadges-bakery
Advanced tools

An OpenBadges image baking library that works with PNGs and SVGs
$ npm install openbadges-bakery
$ oven [--in ./path/to/image.svg] [--out ./path/to/baked-image.svg] <data>
If --out is not set, the baked image will print to stdout.
The input file can also be piped into stdin.
$ oven <data> < ./path/to/image.png > ./path/to/baked-image.png
$ oven [--in path/to/image.png] --extract
Same as above, you can also pipe a file to stdin. The data will be printed to stdout.
Bakes some data into an image.
Options are
image: either a buffer or a stream representing the PNG or SVG to bakeassertion: assertion to save into the image (optional)signature: JSON Web Signature representing a signed OpenBadges assertion (optional)You must pass either assertion or signature
callback has the signature function(err, imageData)
Gets the raw data from the badge. This could be a URL, assertion in JSON format or a signature.
callback has the signature function (err, data)
Gets the assertion from the badge. If the assertion is remote, this will require an HTTP request. If the assertion is baked into the badge, either directly or as part of a signature, this will pull the local copy.
image should be a stream or a buffer
callback has the signature function (err, object) where object is expected to be a OpenBadges assertion.
FAQs
Tools for baking and debaking openbadge images
We found that openbadges-bakery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.