Skip to content

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