GithubHelp home page GithubHelp logo

hjj1994 / profilesigner-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shaojiankui/profilesigner-ruby

0.0 1.0 0.0 26 KB

ProfileSigner is a ruby script that will encrypt and sign a .mobileconfig profile with ssl cer

License: MIT License

Ruby 100.00%

profilesigner-ruby's Introduction

配置:

0.使用breww或者rvm安装ruby,macos自带ruby不好用.我安的是2.6.0. 2.4.0 Gemfile中不用解开openssl注释,因为2.6.0. 2.4.0中自带openssl模块

1.bundler初始化项目

gem install bundler or sudo gem install bundler

bundle install --path vendor/bundle

plist库有问题,所以我手动改了下.

`require': /Users/jakey/Desktop/ios-profile-service/plist/lib/plist/binary.rb:161: invalid multibyte escape: /[\x80-\xff]/

ProfileSigner.rb 配置

ssl_cert.pem,ssl_private.pem 需要替换成自己的证书,unsignedProfile.mobileconfig替换成未签名的profile文件

ProfileSigner.rb 的gen方法,可以选择是签名现有profile文件 还是自动生成profile文件,默认是读取已经存在的配置文件,可以根据需要修改.

ruby ProfileSigner.rb 即可

Bundle命令详解:

显示所有的依赖包

bundle show

显示指定gem包的安装位置

bundle show [gemname]

安装依赖包到项目根目录(在项目目录执行)

bundle install --path vendor/bundle

profilesigner-ruby's People

Contributors

shaojiankui avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.