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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TooManySugar
Copy link

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.

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.

1 participant