swisspost-evoting-go-poc/cmd/evote/vote.go
saymrwulf e8b6f30871 Swiss Post E-Voting Go PoC
Proof-of-concept reimplementation of the Swiss Post e-voting
cryptographic protocol in Go. Single binary, 52 source files,
2 dependencies. Covers ElGamal encryption, Bayer-Groth verifiable
shuffles, zero-knowledge proofs, return codes, and a full
election ceremony demo.
2026-02-13 19:53:09 +01:00

20 lines
407 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
)
var voteCmd = &cobra.Command{
Use: "vote",
Short: "Cast a vote (requires setup artifacts)",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Vote subcommand: use 'evote demo' for the full ceremony.")
fmt.Println("Standalone vote requires loading setup artifacts from JSON.")
},
}
func init() {
rootCmd.AddCommand(voteCmd)
}