= PLantUML Diagrams for GnuPG Key Signing I am trying to model implicit and explicit trust in Zero Trust Architecture diagrams for Threat Modeling. So I need to bring together the Blue Team/White Hat perspective and the Red Team/Black Hat stuff. == DFD: Keysigning Simple image::100-GnuPG-Keysigning-DFD.png[] == SEQ: Keysigning with ID check and WoT image::100-GnuPG-Keysigning-SEQ-KSP-WoT.png[] == NetBSD RelEng Attack STRIDE The ISO Image is built, signed and uploaded to the WWW server, as well as the Signature file and checksums. Evil Black Hat hacks the webserver, and swaps the ISO image for a manipulated one with a valid Signature. The manipulated Signature verifies the fake-integrity of the manipulated ISO image, but not the authenticity. image::300-NetBSD-RelEng-STRIDE.png[] == Supply-chain Levels for Software Artifacts A simple threat model for SLSA Level 1 and Leve 4 build and distribution pipelines. image::200-ThreatModel-SLSA1-DownloadSig.png[] === Reproducible Builds SLSA L4 Modeling Trust, Trust Anchors and Boundaries and Attack Vectors ==== The whole implementation * Trust Boundaries: Rectangles * Attack Vectors: Red Arrows image::201-ThreatModel-SLSA4-ReproducibleBuilds.png[] * Trust Anchor: Green Anchor image::202-ThreatModel-SLSA4-ReproducibleBuilds-TrustAnchor.png[]