I need to have over the air (OTA) update for a Raspberry Pi board running Debian. I'm thinking of running a cron
job on an apt-get update
and have my own private repository
. So I can push my updates to the repository and the system will automatically pull these updates.
My question is in regard with the security. Is this a safe way of doing OTA or could this potentially allow hackers to push malicious "updates" to my device?