
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Generates Apple Passboks.
Warning: Not yet production ready! The API is still subject to change without notice and it's using blocking I/O internally.
Pass types:
boardingPass
coupon
eventTicket
storeCard
generic
$ npm install passbooker
$ ./node_modules/passbooker/bin/node-passbooker -c './path/to/Certificates.p12' -o './keys/'
-->
keys
+--- pass.pem
+--- pass-key.pem
+--- WWDR.pem
var path = require('path');
var fs = require('fs');
var Passbooker = require('passbooker');
var templateOptions = {
// Mandatory
passTypeIdentifier:'pass.acmecorp.genericFoo',
teamIdentifier: 'XXXXXXXXXX',
organizationName: 'ACME Corp',
imagePath: path.join( __dirname, 'samples', 'images' ),
keysPath: path.join( __dirname, 'samples', 'keys' ),
// Nice to have
logoText: 'ACME Corp',
description: 'Foo bar'
};
var template = new Passbooker.Template( 'generic', templateOptions );
template
.setPrimaryField( 'headline', 'ACME Generic card' )
var pass = new Passbooker.Pass( template, {
serialNumber: 'foo:bar:1'
});
pass
.setSecondaryField( 'acme_id', 'ID', 'xxxx' )
.setSecondaryField( 'acme_pin', 'PIN', 'xxxx' )
.setBackField( 'acme_id', 'ID', 'xxxx' );
pass.getPackage(function( err, passPackage ) {
if ( !!err ) {
return console.log( err );
}
fs.writeFileSync( './samples/fooBar.pkpass', passPackage );
});
Links:
[Pass package]
+--- icon.png
+--- icon@2x.png
+--- thumbnail.png
+--- thumbnail@2x.png
+--- pass.json
\--- de.lproj
+--- logo.png
+--- logo@2x.png
+--- pass.strings
\--- en.lproj
+--- logo.png
+--- logo@2x.png
+--- pass.strings
FAQs
Generates Apple Passboks
We found that passbooker 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.