You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

appinstall

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

appinstall

## Private key management Private keys are imported and removed on the command line.

1.0.2
unpublished
latest
npmnpm
Version published
Maintainers
1
Created
Source

appinstall-mobile-manager

Private key management

Private keys are imported and removed on the command line.

Converting from PKCS12 before adding a key

With a Private key that was exported from KeyChain. You'll be prompted for password that was set when exporting.

openssl pkcs12 -in Certificates.p12 -nocerts -out private_key.pem -nodes
# Where private_key.pem is your KEYFILE for the below.

Adding a key

RACK_ENV=production ./bin/rake keys:import name=NAME key=KEY_FILE

At this point key names are not important, but should be unique.

Removing a key

RACK_ENV=production ./bin/rake keys:remove name=NAME

OR

RACK_ENV=production ./bin/rake keys:remove checksum=XXXXX

If a key checksum is not known, it can be determined from either the original key file or the corresponding certificate file:

RACK_ENV=production ./bin/rake keys:checksum file=CERTIFICATE_OR_KEY_FILE

Development setup

Required Dependencies:

Imagemagick

~ brew install imagemagick

Mongo

~ brew install mongo

Redis

~ brew install redis

Foreman

~ gem install foreman

Bundle install

~ gem install bundler
~ bundle

Yarn

yarn install

** Setup DB **

~ bundle exec rake db:setup

** Start the server **

~ foreman start

Open browser and goto

http://localhost:5000/admin

** Troubleshooting **

If you encounter issues installing libv8, try running the following command to successfully install it.

~ GCC_TREAT_WARNINGS_AS_ERRORS=NO gem install libv8 -v 3.16.14.13

If you encounter issues installing imagemagick, try running the following command to successfully install it.

~ brew uninstall imagemagick
~ brew install imagemagick@6 && brew link imagemagick@6 --force
~ brew link --overwrite imagemagick@6
~ echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.zshrc

FAQs

Package last updated on 25 Feb 2020

Did you know?

Socket

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.

Install

Related posts