VerifHub

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

saltchannel.vp

Submitted on 29 Jun 20 10:53 UTC. attacker[active] principal Server[ knows private s gs = G^s ] principal Client[ knows private c gc = G^c generates ec m1 = G^ec ] Client -> Server: [m1] principal Server[ generates es m2 = G^es shared_s = m1^es m3a = AEAD_ENC(shared_s, gs, nil) m3b = AEAD_ENC(shared_s, SIGN(s, HASH(m1, m2)), nil) ] Server -> Client: m2, m3a, m3b principal Client[ shared_c = m2^ec gs_dec = AEAD_DEC(shared_c, m3a, nil) m3b_dec = AEAD_DEC(shared_c, m3b, nil) valid_c = SIGNVERIF(gs_dec, HASH(m1, m2), m3b_dec)? m4a = AEAD_ENC(shared_c, gc, nil) knows private pt1 req = AEAD_ENC(shared_c, pt1, nil) ] Client -> Server: [m4a], [req] queries[ confidentiality? pt1 ]
Switch to Model View
Title:saltchannel.vp Note over Server: knows private s\n gs = G^s\n Note over Client: knows private c\n gc = G^c\n generates ec\n m1 = G^ec\n Client -> Server: [m1] Note over Server: generates es\n m2 = G^es\n shared_s = m1^es\n m3a = AEAD_ENC(shared_s, gs, nil)\n m3b = AEAD_ENC(shared_s, SIGN(s, HASH(m1, m2)), nil)\n Server -> Client: m2, m3a, m3b Note over Client: shared_c = m2^ec\n gs_dec = AEAD_DEC(shared_c, m3a, nil)\n m3b_dec = AEAD_DEC(shared_c, m3b, nil)\n valid_c = SIGNVERIF(gs_dec, HASH(m1, m2), m3b_dec)?\n m4a = AEAD_ENC(shared_c, gc, nil)\n knows private pt1\n req = AEAD_ENC(shared_c, pt1, nil)\n Client -> Server: [m4a], [req]

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.