For open source messengers, you can check whether they actually encrypt your messages and whether the server has access to your encryption keys but what about WhatsApp? Since it's not open source, you can't be sure that the encryption keys aren't sent to the server, right? Has there been a case where a government was able to access WhatsApp chats without reading them from the phone itself?
Governments, if they want, can decrypt any chat, not just Whatscrap. But it makes a difference if a chat, especially this Zuckerbot shit, directly opens a Backdoor to governments, to give them access, or if they have to bother hacking the chats themselves, which due to its cost and time, is only done with a court order.
This is not true. Encryption that is not breakable by anyone - including governments - and the tools to use it have been available to everyone for decades now.
It might be broken later (which is why the US stores encrypted messages) but not right now, and is unlikely to be in the foreseeable future.
They can, all goverments nowadays have at thei disposal Quantum computer, provided by large companies (Google, IBM, Facebook, M$...) Not being able to decrypt messages was valid, in part, a few years ago, but not longer. Microsoft itself is now moving away from using passwords, using logins with physical keys for this reason and others will follow soon. Chat messages are no longer secure, while they do not also use quantum technology. But don't worry, as long as you don't attract attention for being a pedophile or for belonging to a terrorist group, no one is going to bother decoding your messages. Also the Germans in the II WW thought that nobody can read their with Enigma encrypted messages, fail.
What you wrote is science fiction, not fact. So are practical quantum computers, thus far.
It also ignores the fact that quantum computing would do shit all against symmetric encryption (though admittedly that's less relevant for whatsapp, but it's perfectly relevant if you want to exchange secure messages with someone you met physically prior); as well as the fact quantum-resistant encryption algorithms such as NTRU already exist and are already considered for implementation in free software tools (the only reason they aren't is they're far less tested and nobody trusts them yet against conventional attacks).
https://sites.math.washington.edu/~morrow/336_16/2016papers/tristan.pdf
Any source for that claim?
I mean, it's possible given their resources... It just takes long enough to be unfeasible. Also, in special circumstances they can Pegasus your phone and obtain the info without decrypting... Not like you're not screwed anyways when it comes to such drastic measures.
Relevant xkcd as always https://xkcd.com/538/