summaryrefslogtreecommitdiff
path: root/PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml
diff options
context:
space:
mode:
Diffstat (limited to 'PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml')
-rw-r--r--PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml121
1 files changed, 121 insertions, 0 deletions
diff --git a/PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml b/PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml
new file mode 100644
index 0000000..8ea1574
--- /dev/null
+++ b/PlantUML-ModelingTrust/GnuPG-WoT-Download/100-GnuPG-Keysigning-SEQ-KSP-WoT.puml
@@ -0,0 +1,121 @@
+@startuml
+' !theme mono
+' !theme crt-amber
+' !theme crt-green
+' !theme amiga
+' !theme metal
+
+!theme mimeograph
+
+
+
+title Sequence Diagram – Mutual Key Signing with Owner Trust (<font:monospace>tsign</font>)
+
+legend
+Keysigning between Alice and Bob
+. <font:monospace>gpg --recv-keys 0x11F4C41EB3FBAE33</font>
+. <font:monospace>gpg --edit-key 0x11F4C41EB3FBAE33</font>
+. <font:monospace>tsign</font>
+. <font:monospace>gpg --armor --export-options export-minimal --export 0xB3FBAE33 > 0xB3FBAE33.asc </font>
+end legend
+
+header
+= Sequence of Key Signing with n==2
+Compiled: %date("yyyy-MM-dd kk:mm Z")
+endheader
+
+
+
+actor Alice
+actor Bob
+
+
+
+participant "Alice GnuPG" as AG
+participant "Bob GnuPG" as BG
+database "Alice Keyring" as AK
+database "Bob Keyring" as BK
+database "Alice Owner Trust" as AT
+database "Bob Owner Trust" as BT
+
+
+entity "Alice Passport" as AID
+entity "Bob Passport" as BID
+
+'
+' ''''''''''''''''''' KSP
+'
+
+group Key Signing Party
+== ID Verification via Passport ==
+
+Alice -> BID : Verify Bobs Passport
+note right: verify ID and Key-Fingerprint
+Bob -> AID : Verify Alice Passport
+note right: verify ID and Key-Fingerprint:w
+
+end group
+
+
+'
+' ''''''''''''''''''' KEX
+'
+
+group KeyExchange
+== Key Exchange ==
+
+Alice -> AG : Export PubKey
+AG -> AK : Read PubKeyof Alice
+AG -> Bob : Send PubKeyof Alice
+
+Bob -> BG : Export PubKey
+BG -> BK : Read PubKeyof Bob
+BG -> Alice : Send PubKeyof Bob
+
+== Signing ==
+
+Bob -> BG : Sign Alice key\n(identity verified)
+BG -> BK : Store signature on Alice key
+BG -> Alice : Mail signed Alice key
+
+Alice -> AG : Sign Bob key\n(identity verified)
+AG -> AK : Store signature on Bob key
+AG -> Bob : Mail signed Bob key
+
+== Import ==
+
+Alice -> AG : Import signed Alice key
+AG -> AK : Update keyring
+
+Bob -> BG : Import signed Bob key
+BG -> BK : Update keyring
+
+== Set Owner Trust ==
+
+Alice -> AG : Set owner trust for Bob
+AG -> AT : Store trust level
+
+Bob -> BG : Set owner trust for Alice
+BG -> BT : Store trust level
+end group
+
+
+'
+' ''''''''''''''''''' WoT
+'
+
+group Trust calculation voa Web of Trust
+== Web of Trust Calculation ==
+
+Alice -> AG : Check validity of Bob key
+AG -> AK : Read signatures
+AG -> AT : Read owner trust values
+AG -> Alice : Validity status\n(unknown/marginal/full)
+
+Bob -> BG : Check validity of Alice key
+BG -> BK : Read signatures
+BG -> BT : Read owner trust values
+BG -> Bob : Validity status\n(unknown/marginal/full)
+
+end group
+@enduml