For nearly 50 years, public key infrastructure (PKI) has formed the secure cryptographic foundation for the world’s digital systems. But quantum computing may break down this defence.