As with proving RH, proving that factoring is in P would not have any practical consequences. If, as some confused people imagine, proving that factoring in P allows one to break cryptography, then one could simply assume that factoring is in P and then go break cryptography.
Proofs don't yield algorithms, they only verify algorithms already in hand. Maybe the labs have found a polynomial-time algorithm that breaks cryptography, but that's a totally different subject. Knuth thinks that NP = P and that therefore there is such an algorithm, but the constants are immense and so the algorithms aren't usable.
> If, as some confused people imagine, proving that factoring in P allows one to break cryptography (...)
Confused person here. Isn't it that a nonconstructive and/or galactic proof is indeed not gonna break any crypto, but a constructive and nongalactic one very much so? So that it's a lot more of an "it depends" rather than the "absolutely not" that I took away from your comment?
Plot twist: cryptography is broken so in the singularity all payments and communication of confidential information must be done in person and on paper- and suddenly it's 1980 again! Bank offices reopen, mall and local shops thrive, long queues at government offices!
> Proofs don't yield algorithms
I think this is false. If it's a fully formalized proof one can get a computational program out of it. Look up 'program extraction from proofs'. The catch is that the properties of the resulting program depend on the exact mathematical statements and also the exact proof, e.g. whether it's fully constructive or relies on classical mathematics. I'm not up to date on this field, haven't looked at this for many years. So that's why I'm vague here and point to looking it up yourself if you're interested in the details. I can't judge at the moment how practical this is, especially for very large proofs.