Giter Site home page Giter Site logo

changeyourdestiny / super-signature Goto Github PK

View Code? Open in Web Editor NEW

This project forked from togettoyou/ipashare

0.0 1.0 0.0 35.4 MB

go实现iOS重签名应用(iOS超级签名、蒲公英ios内测分发原理)

License: MIT License

Dockerfile 0.23% Go 97.78% Makefile 1.36% Shell 0.63%

super-signature's Introduction

README.md

扫码_搜索联合传播样式-标准色版.png

这是什么

一个用go实现的iOS重签名应用,即市面上的iOS超级签名、蒲公英ios内测分发原理

使用本模块可以进行基本的IPA安装包重签名分发

实现功能:苹果开发者账号管理、IPA安装包管理

运行环境:Linux

代码架构使用

https://github.com/togettoyou/go-one-server

前提(重要,重要,重要)

1.生成替换 ios.csr 和 ios.key 文件

openssl genrsa -out ios.key 2048
openssl req -new -sha256 -key ios.key -out ios.csr

2.需要 https(获取UUID过程苹果服务器会回调我们的接口,需要https),可直接通过 config.yaml 开启 enableHttps (需要配置本地ssl证书),或通过 nginx 等网关代理等形式部署证书。

3.更改 config.yaml 配置 mysql.dsn(默认连接docker启动的mysql),applePath.url(必须改为你自己的https域名) 等信息

使用docker一键部署(推荐,推荐,推荐)

docker-compose up
# 会拉取 isign 签名环境,自动创建数据库,编译运行

详见Dockerfiledocker-compose.yml文件

部署截图:

仅作为例子,我的部署环境为本地虚机,https 域名使用内网穿透方式实现。

image.png

更改 config.yaml 域名,启动服务:

image.png image.png

访问 https://isign.cn.utools.club/swagger/index.html

image.png

手动部署(需手动部署 isign 环境,略,自行百度谷歌 isign 部署)

# 部署isign环境略,验证安装是否成功
isign -h

git clone https://github.com/togettoyou/super-signature.git
cd super-signature
# 配置 config.yaml
go run main.go
# 浏览器访问 http://localhost:8888/swagger/index.html

使用说明

1、 上传苹果开发者账号信息

登陆 https://appstoreconnect.apple.com/access/api 获取p8(下载的API密钥文件内容),kid ( 密钥ID),Iss (Issuer ID):

上传:

image.png

2、 上传IPA

image.png

3、 iPhone 使用 Safari 浏览器打开 AppLink 链接

/api/v1/getAllPackage 返回数据格式

{
  "code": 0,
  "msg": "成功",
  "data": [
    {
      "ID": 1,
      "IconLink": "应用图标地址",
      "BundleIdentifier": "应用包名",
      "Name": "应用名称",
      "Version": "应用版本号",
      "BuildVersion": "应用BuildVersion",
      "MiniVersion": "最低支持ios版本",
      "Summary": "简介",
      "AppLink": "应用下载地址,iPhone使用Safari浏览器访问即可下载",
      "Size": "应用大小",
      "Count": "累计下载量"
    }
  ]
}

详细原理说明

语雀浏览

super-signature's People

Contributors

togettoyou 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.