Skip to content

pkg.py: update key with fast crypt implementation#141

Closed
TooManySugar wants to merge 1 commit into
ps3dev:masterfrom
TooManySugar:update-key-with-fast-crypt-implementation
Closed

pkg.py: update key with fast crypt implementation#141
TooManySugar wants to merge 1 commit into
ps3dev:masterfrom
TooManySugar:update-key-with-fast-crypt-implementation

Conversation

@TooManySugar

Copy link
Copy Markdown

Original (slow) implementation of crypt relied on change of key. With transition to C based version this behavior were lost. It led to garbage instead of valid names when using pkg.py with -l flag to list files in package.

Here is small solution to it: store key converted to string in separate variable, perform manipulations on C side using it and copy resulting contents back to original list.

Also moved pkgcrypt callback registration next to import to have all in one place.

@bucanero

Copy link
Copy Markdown

Closing this PR, python scripts have been replaced. See #162

@bucanero bucanero closed this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants