To sign a petition (in the smart contract) you need to prove your identity with your
Swiss e-ID. The Swiss e-ID is currently in BETA, so anyone can
create a BETA e-ID to interact with the smart contract.
See this blog article for more details on the concept:
Democracy 3.0