@startuml !theme mimeograph header = DFD: Alice and Bob Keysigning Compiled: %date("yyyy-MM-dd kk:mm Z") endheader title Daten Flow Diagram – GnuPG Keysigning between Alice and Bob actor Alice actor Bob actor Keyserver rectangle "Alice Keyring" as AK rectangle "Bob Keyring" as BK rectangle "PubKey Alice" as PubA rectangle "PubKey Bob" as PubB rectangle "signed PubKey of Alice -> Bob" as SigB rectangle "signed PubKey of Bob -> Alice" as SigA ' ''' exportieren Alice --> PubA : 1. export own PubKey Bob --> PubB : 1. export own PubKey ' ''' verschicken PubA --> Bob : 2. mail own PubKey to Bob PubB --> Alice : 2. mail own PubKey to Alice ' ''' signatur Bob --> SigA : 3. sign PubKey of Alice Alice --> SigB : 3. sign PubKey of Bob ' ''' sig mailen SigA --> Alice : 4. mail signed PubKey of Alice to the mail address in the key SigB --> Bob : 4. mail signed PubKey of Bob to the mail address in the key ' ''' signaturen importieren Alice --> AK : 5. import signed PubKey Bob --> BK : 5. signed PubKey ' ''' schlüssel veröffentlichen Alice --> Keyserver : 6. send new signature to Keyserver Bob --> Keyserver : 6. send new signature to Keyserver @enduml