Skip to content
Discussion options

You must be logged in to vote

Yep, you can use your existing key. The AVB key generated by avbroot uses the exact same PEM-encoded PKCS8 format that AOSP's avbtool expects. Just rename the file.

If you also want to reuse your OTA key, you'll have to convert it to DER-encoded PKCS8, which can be done with:

openssl pkcs8 -topk8 -scrypt -in ota.key -out releasekey.pk8 -outform DER

# For the certificate, rename ota.crt to releasekey.x509.pem.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@krongler
Comment options

@chenxiaolong
Comment options

Answer selected by krongler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants