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

Some fixes #205

Merged
merged 2 commits into from
May 9, 2022
Merged

Some fixes #205

merged 2 commits into from
May 9, 2022

Conversation

sjaeckel
Copy link
Member

@sjaeckel sjaeckel commented May 5, 2022

This fixes #204 and a potential issue in xmpp_stanza_new_from_string()

@sjaeckel sjaeckel requested a review from pasis May 5, 2022 14:31
Before this change the user had to provide a password callback, even if the
PKCS#12 encoded file has no or an empty password.

This changes the behavior, so we first try to open the file without a
password and only then ask the user to provide one.

This fixes #204.

Signed-off-by: Steffen Jaeckel <[email protected]>
Only remember the first stanza in case the string contains
multiple stanzas.

Signed-off-by: Steffen Jaeckel <[email protected]>
@sjaeckel sjaeckel merged commit 62d1063 into master May 9, 2022
@sjaeckel sjaeckel deleted the some-fixes branch May 18, 2022 07:11
@sjaeckel sjaeckel added this to the 0.12.0 milestone Jul 11, 2022
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.

XEP 0178 PEM password prompt despite no password on the p12 encrypted certificate
1 participant