12 releases

new 0.0.13 Apr 27, 2024
0.0.12 Apr 26, 2024
0.0.5 Feb 26, 2024

#492 in Cryptography

Download history 240/week @ 2024-02-19 150/week @ 2024-02-26 5/week @ 2024-03-04 7/week @ 2024-03-11 318/week @ 2024-04-01 191/week @ 2024-04-08 46/week @ 2024-04-15

555 downloads per month

MIT license

305KB
8K SLoC

C++ 6K SLoC // 0.0% comments C 1.5K SLoC // 0.1% comments Rust 347 SLoC // 0.0% comments Shell 33 SLoC // 0.3% comments Lua 8 SLoC // 0.9% comments

zsign

Latest Version

zsign ipa签名

QQ群

使用指南

let ipa_path = "./ipa/video.ipa";
let p12_path = "./ipa/lake.p12";
let p12_password = "1";
let mp_path = "./ipa/lake_13_pm.mobileprovision";
let dylib_file_path = "./ipa/d.dylib";
let icon_path = "./ipa/icon.png";
let output_path = "./ipa/output.ipa";

//delete output_path
std::fs::remove_file(output_path).unwrap_or_default();
//openssl3 需要兼容低版本p12,否则无法解析p12文件,链接:https://www.practicalnetworking.net/practical-tls/openssl-3-and-legacy-providers/
//或者自己把p12文件先转key.pem再给p12_path也可以
ZsignBuilder::new()
    .app_icon_path(icon_path)
    .app_name("hello")
    .app_version("1.0.0")
    .app_bundle_id("com.lake.hello")
    .dylib_file_path(dylib_file_path)
    .dylib_remove_path("@executable_path/Frameworks/test.dylib,@rpath/test2.dylib")    .sign(ipa_path, key_path, mp_path)
    // .disable_sign()
    // .disable_zip_ipa()
    .build(ipa_path, p12_path, p12_password, mp_path, output_path)
    .unwrap();

Dependencies

~0.3–2.4MB
~50K SLoC