Conversation
ddffe46 to
ab46450
Compare
|
the overall changes are a lot simpler than I expected, which is nice |
2f83b5d to
8b92a45
Compare
|
I need to track down the regression about compatibility. From my understanding the verifier is tolerant to LF/CR variations. |
That is a surprising regression. LF/CR tolerance is a subtle and somewhat annoying aspect of OpenPGP - it interacts both with the type of the literal packet, and with the SignatureType. And cleartext signatures add a few more wrinkles. However, I would not expect any of this OpenPGP-subtlety to interact with rust crypto upgrades O_o |
|
Yeah, I definitely did not expect it either. But I haven't taken the time to root-cause it yet (not familiar enough with the code base, it's intimidating^^) |
|
Turns out I messed up the DetailsSome of the implementation didn't use the trimmed version which broke the fingerprinting and then broke the match. |
8b92a45 to
ef66d86
Compare
|
Awesome that you found it! (After 2h of debugging though? That sounds a bit brutal.) The MPI format is a horrifying armada of footguns, but ... it is there, in the "old" formats. (One of many nice things about the new OpenPGP RFC 9580 is that it uses plain fixed size encoding for modern types of key material and signatures.) |
nah, those 2 hours included giving dinner to the kids ^^ |
dc34045 to
d89daad
Compare
1600771 to
056a295
Compare
5b3d46c to
68431c3
Compare
515db26 to
b50f29b
Compare
|
@baloo, I see you've been pushing to this recently. I'm working on getting Also, I noticed when starting to play with getting |
|
Hey @overhacked! A quick reaction to one narrow point in your message:
That functionality should still be available, via: The data structures have changed around a bit, but |
IMO, having |
Yeah, fairly consistently over the last 6-8 months ^^ Mostly because I need it for work, but also rpgp is using pretty all of rustcrypto, and it's been extremely useful to find bugs in the upcoming release.
No, I'm not using ssh-agent-lib at the moment. Mostly as a lack of spare time, not lack of interest.
Yeah, I rebase this PR every week or so.
I'd rather not have to maintain your changes. What I would recommend would be to make those changes against main, then make a merge between those changes and this branch. Those commits here are all made with jujutsu, and if you were to |
|
Thanks for the reply! This is an awesome reason for me to learn
Since I've already got a working patch for upcoming RustCrypto 0.9+ for |
I mean, it's more that it's going to be a frustration for the both of us having to wait for each other to sync up, and I'd rather avoid that if possible.
Let's follow up there (I also have one, and rand_core changed its API, again) |
|
Happy to see more and more stuff getting out of Thanks for your hard work @baloo 🙇 |
This is probably a bit early, but this PR bumps the dependencies to use @RustCrypto next set of releases.