Skip to content

Instantly share code, notes, and snippets.

@sebastianv89
Created February 12, 2020 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianv89/bbab7402dcd047923254aab392c7f675 to your computer and use it in GitHub Desktop.
Save sebastianv89/bbab7402dcd047923254aab392c7f675 to your computer and use it in GitHub Desktop.
Testing
attacker[active]
principal Alice [
knows private a
ga = G^a
]
principal Bob [
knows private b
gb = G^b
]
principal Carol [
knows private c
gc = G^c
]
Alice -> Bob: [ga]
Alice -> Carol: [ga]
Bob -> Alice: [gb]
Bob -> Carol: [gb]
Carol -> Alice: [gc]
Carol -> Bob: [gc]
principal Bob [
knows private m
s = RINGSIGN(b, ga, gc, m)
]
Bob -> Damian: [ga], [gb], [gc], m, s
principal Damian [
_ = RINGSIGNVERIF(ga, gb, gc, m, s)?
]
queries [
authentication? Alice->Damian: m // Error: query depends on Alice sending a constant (m) that they do not know.
authentication? Bob->Damian: m
authentication? Carol->Damian: m
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment