VerifHub allows Verifpal® users to easily share and discuss Verifpal models of cryptographic protocols. The VerifHub service provides unique URIs for each shared model which includes a syntax-highlighted model, an automatically generated diagram and a summary of the analysis results.

Switch to Diagram View


Submitted on 17 Jul 20 15:41 UTC. attacker[active] principal Bob[ knows private b gb = G^b ] Bob -> Alice: gb principal Alice[ knows private a knows private aa ga = G^a gaa = G^aa egaa = AEAD_ENC(gb^a, gaa, nil) s = SIGN(aa, HASH(ga, gb)) ] Alice -> Bob: ga, egaa, s principal Bob[ b_gaa = AEAD_DEC(ga^b, egaa, nil)? knows private m em = AEAD_ENC(HASH(ga^b, b_gaa^b), m, nil) _ = SIGNVERIF(b_gaa, HASH(ga, gb), s)? ] Bob -> Alice: em principal Alice[ x = AEAD_DEC(HASH(gb^a, gb^aa), em, nil)? knows private m2 em2 = AEAD_ENC(HASH(gb^a, gb^aa), m2, nil) ] Alice -> Bob: em2 principal Bob[ _ = AEAD_DEC(HASH(ga^b, b_gaa^b), em2, nil)? ] queries[ confidentiality? gaa confidentiality? m confidentiality? m2 authentication? Alice -> Bob: egaa authentication? Bob -> Alice: em authentication? Alice -> Bob: em2 ]
Switch to Model View
Title:test6.vp Note over Bob: knows private b\n gb = G^b\n Bob -> Alice: gb Note over Alice: knows private a\n knows private aa\n ga = G^a\n gaa = G^aa\n egaa = AEAD_ENC(gb^a, gaa, nil)\n s = SIGN(aa, HASH(ga, gb))\n Alice -> Bob: ga, egaa, s Note over Bob: b_gaa = AEAD_DEC(ga^b, egaa, nil)?\n knows private m\n em = AEAD_ENC(HASH(ga^b, b_gaa^b), m, nil)\n _ = SIGNVERIF(b_gaa, HASH(ga, gb), s)?\n Bob -> Alice: em Note over Alice: x = AEAD_DEC(HASH(gb^a, gb^aa), em, nil)?\n knows private m2\n em2 = AEAD_ENC(HASH(gb^a, gb^aa), m2, nil)\n Alice -> Bob: em2 Note over Bob: _ = AEAD_DEC(HASH(ga^b, b_gaa^b), em2, nil)?\n

Analysis Results

The model submitter provided the following analysis results:

Please note that these results are not verified to be accurate. The model submitter may choose to provide false analysis results if they so desire. It is strongly recommended that you re-run the analysis of this model locally if you wish to verify the authenticity of the analysis results above.

Discuss This Model

© Copyright 2019- Nadim Kobeissi. All Rights Reserved. “Verifpal” and the “Verifpal” logo/mascot are registered trademarks of Nadim Kobeissi. Verifpal software is provided as free and open source software, licensed under the GPLv3. Verifpal User Manual, as well as this website, are provided under the CC BY-NC-ND 4.0 license. Published by Symbolic Software.