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

needham-schroeder-pk.vp

Submitted on 28 Jun 20 21:20 UTC. attacker[active] principal Alice[ knows private a generates na ga = G^a ] principal Bob[ knows private b generates nb gb = G^b ] Alice -> Bob: [ga] Bob -> Alice: gb principal Alice[ e1 = PKE_ENC(gb, na) ] Alice -> Bob: e1 principal Bob[ na_bob = PKE_DEC(b, e1) e2 = PKE_ENC(ga, CONCAT(na_bob, nb)) ] Bob -> Alice: e2 principal Alice[ m2 = PKE_DEC(a, e2) na_bob_alice, nb_alice = SPLIT(m2) _ = ASSERT(na, na_bob_alice)? e3 = PKE_ENC(gb, nb_alice) ] Alice -> Bob: [e3] principal Bob[ nb_alice_bob = PKE_DEC(b, e3) _ = ASSERT(nb, nb_alice_bob)? ] queries[ authentication? Alice -> Bob: e1 authentication? Bob -> Alice: e2 confidentiality? na confidentiality? nb ]
Switch to Model View
Title:needham-schroeder-pk.vp Note over Alice: knows private a\n generates na\n ga = G^a\n Note over Bob: knows private b\n generates nb\n gb = G^b\n Alice -> Bob: [ga] Bob -> Alice: gb Note over Alice: e1 = PKE_ENC(gb, na)\n Alice -> Bob: e1 Note over Bob: na_bob = PKE_DEC(b, e1)\n e2 = PKE_ENC(ga, CONCAT(na_bob, nb))\n Bob -> Alice: e2 Note over Alice: m2 = PKE_DEC(a, e2)\n na_bob_alice, nb_alice = SPLIT(m2)\n _ = ASSERT(na, na_bob_alice)?\n e3 = PKE_ENC(gb, nb_alice)\n Alice -> Bob: [e3] Note over Bob: nb_alice_bob = PKE_DEC(b, e3)\n _ = ASSERT(nb, nb_alice_bob)?\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.