Skip to content

An utility for signing payload.bin of an incremental Android A/B OTA zip.

Notifications You must be signed in to change notification settings

voidregreso/AVBPayloadSigner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AVBPayloadSigner

AVBPayloadSigner is a tool for signing payload.bin of an incremental Android A/B OTA zip.

Usage

  1. Use openssl to generate a private key.

    openssl genpkey -algorithm RSA -out ota.key
  2. Ensure the Rust toolchain is installed.

  3. Clone this git repo and build it.

    cargo build --release

    The output will be in target/release/AVBPayloadSigner.exe.

  4. Start signing by following command-lines:

    AVBPayloadSigner \
        --input /path/to/old/payload.bin \
        --output /path/to/new/signed/payload.bin \
        --key /path/to/ota.key

Thanks

Based on avbroot and references some of its code implementations.

About

An utility for signing payload.bin of an incremental Android A/B OTA zip.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages