I am using an unsecured (no password) Cox hotspot that requires authentication on a web portal.
This is the main internet connection I use and I have been updating my Ubuntu (sudo apt update && sudo apt upgrade) for a while.
Is my system safe?
I am using an unsecured (no password) Cox hotspot that requires authentication on a web portal.
This is the main internet connection I use and I have been updating my Ubuntu (sudo apt update && sudo apt upgrade) for a while.
Is my system safe?
Even over an unsecured connection, and even using unsecured HTTP connections, your system will only accept packages and repository metadata signed using keys already on your system — that is to say, all the information downloaded by apt
is authenticated using information which can’t be intercepted and modified during download, because it’s already on your system.
So your system is safe from tampering during package downloads.
See How is the authenticity of Debian packages guaranteed? (which also applies to Ubuntu) for details.
Do note however that by using an untrusted network, you run the risk of your downloads being monitored, which could allow an adversary to determine which packages are installed on your system. This can be done even with secured HTTP connections over unsecured networks.
apt
is secured. If you additionally use SSL in/etc/apt/sources.list
and other sources (i.e.https
overhttp
), there should not be any worries regarding the unsecured network, as security is negotiated between your PC and the server plus the layer of using signed packages and checksums thereof. – FelixJN Jul 11 '22 at 07:20