Git Product home page Git Product logo

Comments (6)

Aefyr avatar Aefyr commented on June 12, 2024

Are you sure your private key file matches your template file?

from pseudoapksigner.

ommiao avatar ommiao commented on June 12, 2024

I have only one key store, with only one key alias. Maybe I generated my private key with wrong way? How to get proper private key? Thanks for any help. @Aefyr

from pseudoapksigner.

Aefyr avatar Aefyr commented on June 12, 2024

Actually I don't know since I've only ever used this lib with testkey, but according to Google you can use KeyStore Explorer. By the way, how did you make your template file? Did you take .RSA from a signed APK or did you just use a RSA public key?

from pseudoapksigner.

Aefyr avatar Aefyr commented on June 12, 2024

Also you could try signing 2 different APKs with your key using apksigner and diffing their .RSA files to see if maybe there're more/less than 256 bytes in .SF file signature (maybe that depends on the hashing algorithm, I'm not too sure)

from pseudoapksigner.

HemanthJabalpuri avatar HemanthJabalpuri commented on June 12, 2024

@Aefyr @ommiao
Can you please try this to get the Signature Block.
GenSBT.java.txt

from pseudoapksigner.

sunilpaulmathew avatar sunilpaulmathew commented on June 12, 2024

Nice work @Aefyr
Managed to sign and install APK's, both using the test key/template from your asset folder, as well as with a private key/RSA template. Took some time to figure out making a working template file. Probably, good documentation will be great.

from pseudoapksigner.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.