-
Notifications
You must be signed in to change notification settings - Fork 55
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
crash at pgp_subkey_refresh_data #1134
Comments
@mkmelin Thanks for the report! Do you use the latest master's commit? |
@mkmelin Sorry, no need to answer - we definitely should not call |
Some more details:
|
There's at least one more occurrence of that bug: pgp_key.cpp, line 1388:
|
@pbrunschwig @mkmelin This issue should be fixed since PR #1152 was merged. Could you please confirm this? |
@ni4 Building Thunderbird is a bigger task, and Patrick probably doesn't do it himself. I'm guessing that for testing, Patrick relies on the automatic nightly development builds that the Thunderbird project provides. We don't pick up new RNP snapshots automatically, it's a manual process. @ni4 whenever you think you have made progress and now is a good time to pick up a new RNP snapshot, please let me know in some way, and we trigger a rebase to a newer RNP snapshot. I've started that process yesterday https://bugzilla.mozilla.org/show_bug.cgi?id=1641612 |
If someone can point me to an example key that triggers the crash, I can try to test locally. |
@kaie Got it, I thought the integration process doesn't take much time/more automated. Then probably it worth to wait for a few days - so I will finish more issues with key import. |
I added test with some keys which should expose the problem, just to confirm whether originally reported keys work well now. |
We're considering to declare the TB OpenPGP support as experimental for a little longer, because we have some more work to do in TB's integration code, too. https://mail.mozilla.org/pipermail/tb-planning/2020-May/007627.html - so we have a little more time for RNP fixes. Issue #1142 is very important. Ideally, while you're working on that, it would be very helpful to get an API for #1107 too, to obtain the encryption algorithms that were in use. I'll add another idea to 1142 shortly. |
@kaie Great, thanks for the clarification. |
The crash is gone - confirmed in the latest Thunderbird nightly build |
@pbrunschwig Thanks for the update! |
Description
Crash - see https://bugzilla.mozilla.org/show_bug.cgi?id=1637046
@ https://searchfox.org/comm-central/rev/32028983d85d767411a1487ed7b8394e00865b35/third_party/rnp/src/lib/pgp-key.cpp#1319
Looks like sub->revocation is null
0 librnp.so pgp_subkey_refresh_data(pgp_key_t*, pgp_key_t*) comm/third_party/rnp/src/lib/pgp-key.cpp:1319 context
1 librnp.so rnp_key_store_add_key(rnp_key_store_t*, pgp_key_t*) comm/third_party/rnp/src/librekey/rnp_key_store.cpp:530
The text was updated successfully, but these errors were encountered: