mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
feat(sdk): add JNI bridge between Java NativeBridge and Rust C ABI
This commit is contained in:
@@ -16,7 +16,6 @@ fn main() {
|
||||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||
fs::write(out_dir.join("build_hash.txt"), format!("{}\n", hash_hex)).unwrap();
|
||||
|
||||
// 嵌入 RSA 公钥(用于 selfhosted 验签)
|
||||
let pubkey_path = PathBuf::from(&manifest_dir).join("embedded").join("pubkey.pem");
|
||||
if let Ok(pubkey) = fs::read_to_string(&pubkey_path) {
|
||||
let trimmed = pubkey.trim();
|
||||
|
||||
Reference in New Issue
Block a user