Decentralized consensus-based alternative public-key infrastructure