Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate and Re-fake-sign PKGs #31

Open
maxton opened this issue Jan 2, 2019 · 7 comments
Open

Validate and Re-fake-sign PKGs #31

maxton opened this issue Jan 2, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@maxton
Copy link
Owner

maxton commented Jan 2, 2019

There should be a way to validate a fPKG's digests/signatures, and to re-sign in case the PKG was modified. These two systems should work on the same data structure, something like what the PFS builder is using to do inode data block digests

@maxton maxton added the enhancement New feature or request label Jan 2, 2019
@tomazzz369
Copy link

if this will be added in the future, this allows us to for example, mod entry table without corrupting retail package (breaking signatures that we can't fix)? or this will work only for debug packages?

regards

@maxton
Copy link
Owner Author

maxton commented Feb 17, 2019

A quick test suggests that retail PKGs are not doing the same thing for signatures as debug PKGs, so my guess is no, you can't resign a retail pkg.

@tomazzz369
Copy link

thanks for info

regards

@maxton
Copy link
Owner Author

maxton commented Apr 5, 2019

As of da9c950 we can now validate some signatures for a Fake PKG using PkgEditor.

@tomazzz369
Copy link

rifs question: there i a simple way for validate all types of rifs (debug, retail...)? or we still need more keys

regards

@maxton
Copy link
Owner Author

maxton commented Jun 9, 2019

Debug RIF signatures can be verified, because we have the debug RIF RSA keys. However, we don't have any of the retail RIF RSA keys, so we can't verify them. Presumably, the public key is in SAMU in order to verify retail RIFs.

@tomazzz369
Copy link

thanks for info

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants