Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

applesign

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applesign

API to resign IPA files

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
699
increased by32.64%
Maintainers
1
Weekly downloads
 
Created
Source

node-applesign

AppleSigner is a NodeJS API for re-signing iOS applications.

Author

Sergi Alvarez aka pancake @ nowsecure.com

Dependencies

  • zip - re-create IPA

  • unzip - decompress IPA

  • codesign - sign and verify binary with new entitlements and identity

    codesign -v appPath

  • security - get entitlements from mobileprovision

    security cms -D -i provisionPath

Future

  • Use zip.js instead of system zip and unzip executables

  • Reimplement the Apple code signing thing in pure Javascript

  • Support xcarchives

  • Use event model instead of callbacks

    Codesign.signIPA('ipafile').on('error', error_handle).on('ready', finished).start()

  • Run that thing in the browser

  • Profit

Usage

$ bin/ipa-resign.js
Usage: codesign [--output new.ipa] [--identities] [--identity id]
	[--mobileprovision file] [--bundleid id]
	[input-ipafile]

List local codesign identities:

bin/ipa-resign --identities

Resign an IPA with a specific identity:

bin/ipa-resign --identity 1C4D1A442A623A91E6656F74D170A711CB1D257A foo.ipa

Change bundleid:

bin/ipa-resign --bundleid org.nowsecure.testapp path/to/ipa

List mobile provisioning profiles:

ls ~/Library/MobileDevice/Provisioning\ Profiles
security cms -D -i embedded.mobileprovision   # Display its contents

Install mobileprovisioning in device:

ideviceprovision install /path/to.mobileprovision

Define output IPA filename and install in device:

bin/ipa-resign.js --output test.ipa
ios-deploy -b test.ipa

Provisionings

In device:

ideviceprovision list
ideviceprovision install /path/to/provision

In System

ls ~/Library/MobileDevice/Provisioning\ Profiles
security find-identity -v -p codesigning

Show provisioning profile contents:

security cms -D -i embedded.mobileprovision

Further reading

https://github.com/maciekish/iReSign http://dev.mlsdigital.net/posts/how-to-resign-an-ios-app-from-external-developers/

Keywords

FAQs

Package last updated on 26 Feb 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc