# 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.

## 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
]
```

## Analysis Results

The model submitter provided the following analysis results:

- Query 1 (Authentication): FAIL
- Query 2 (Authentication): FAIL
- Query 3 (Confidentiality): FAIL
- Query 4 (Confidentiality): FAIL

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.