goreleaser / nfpm

nFPM is Not FPM - a simple deb, rpm, apk, ipk, and arch linux packager written in Go
https://nfpm.goreleaser.com/
MIT License
2.09k stars 154 forks source link

feat: support PKCS8 keys for APK signing #804

Closed cnt0 closed 3 months ago

cnt0 commented 3 months ago

Call correct parsing function for given RSA key depending on its PEM header.

So we can use both PKCS1 and PKCS8 keys to sign APK files.

Fixes https://github.com/goreleaser/nfpm/issues/799

caarlos0 commented 3 months ago

amazing, thank you!

caarlos0 commented 3 months ago

Thanks!