]> piware.de Git - talk-cockpit-auth-anywhere.git/commitdiff
Add initial drawings
authorMartin Pitt <martin@piware.de>
Tue, 7 Jan 2020 15:53:41 +0000 (16:53 +0100)
committerMartin Pitt <martin@piware.de>
Tue, 7 Jan 2020 16:57:19 +0000 (17:57 +0100)
Made with https://www.draw.io/ and https://www.websequencediagrams.com/

bastion-host.drawio [new file with mode: 0644]
bastion-host.pdf [new file with mode: 0644]
cert-auth.png [new file with mode: 0644]
cert-auth.websequence [new file with mode: 0644]
ssh-session.drawio [new file with mode: 0644]
ssh-session.pdf [new file with mode: 0644]
ws-session.drawio [new file with mode: 0644]
ws-session.pdf [new file with mode: 0644]

diff --git a/bastion-host.drawio b/bastion-host.drawio
new file mode 100644 (file)
index 0000000..5b44905
--- /dev/null
@@ -0,0 +1 @@
+<mxfile host="www.draw.io" modified="2020-01-06T20:12:11.494Z" agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" etag="ztIXgjEwry9lbJflJLIC" version="12.4.8"><diagram id="WpU2nV0nbisVXbfxBrzP" name="Page-1">5Vpbc5s4FP41eQyDENfHJG67D5uZzqSzu3nKEFCwphixgGOnv34lkAy6OGAXtm6bZBx0dD/n0znnE76Cd5v9pyou1/ckRfmVY6f7K7i6cpwQQPrJBG+dwGMlJsgqnHYi0Ase8DfEhTaXbnGKaqlhQ0je4FIWJqQoUNJIsriqyE5u9kJyedYyzpAmeEjiXJf+jdNmzbfl2b38D4SztZgZ2LxmE4vGXFCv45TsBiL44QreVYQ03dNmf4dypjuhl67fxyO1h4VVqGimdFiBe0iCb39V3pdstXu07+8fi2s+ymucb/mG+WKbN6GBuC47xb7gPaJj3ZaowhvUoIrK6BTUEuhzL7pdN5uc1gD6GOc4K+hzQpfY1h10YNNCGtdrNmBbqMs4wUX2hZRUAKkAb1rLiP8rvMno3nL8TD/jpMGv6CnFFV0Zqd5YRVw2pHxKckznsurXjHbVNSS2i6oG7QcirrFPiNBdsPFsXgvtw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aNmOwQUuSWlNF6fDlEPosrdljl6apXIMcS/yXGGWd/7gHKPd6Q9HjxNqIcE3BE9giAdwqXggrvWOwUY2FFYFz/Oi5k+S4YLWPiBK4kgxDhttfirTFvm7pLCBrQPMlJ2Z2J2zGMCmfAFg2Rfa8uvsEfJ+1A6jjFzE2lFGDi+LkavXijDQCM1kFu4pQznaUAszb88UBk+F25F3zs7YS+c5X3yfj0N36s2QYJcXgkOgvjpQCeNkFKrfxVCj59kYpMX+O3Bd8/6LhPDDfw==</diagram></mxfile>
\ No newline at end of file
diff --git a/bastion-host.pdf b/bastion-host.pdf
new file mode 100644 (file)
index 0000000..96af53a
Binary files /dev/null and b/bastion-host.pdf differ
diff --git a/cert-auth.png b/cert-auth.png
new file mode 100644 (file)
index 0000000..1d6ba46
Binary files /dev/null and b/cert-auth.png differ
diff --git a/cert-auth.websequence b/cert-auth.websequence
new file mode 100644 (file)
index 0000000..cf335f7
--- /dev/null
@@ -0,0 +1,15 @@
+title Cockpit Certificate Authentication\r
+\r
+Browser -> cockpit-ws: TLS handshake\nwith client cert\r
+\r
+cockpit-ws -> cockpit-session: auth mode "tls-cert"\r
+\r
+cockpit-session -> libpam-cockpit-cert: start PAM session\r
+note left of libpam-cockpit-cert: no user known yet\r
+\r
+libpam-cockpit-cert -> cockpit-ws: query certificate\r
+libpam-cockpit-cert -> sssd: map certificate\r
+sssd -> libpam-cockpit-cert: user name\n(or failure)\r
+libpam-cockpit-cert -> cockpit-session: set PAM user name,\nstart session\r
+note left of cockpit-session: start cockpit-bridge\r
+cockpit-session -> cockpit-ws: success\r
diff --git a/ssh-session.drawio b/ssh-session.drawio
new file mode 100644 (file)
index 0000000..3e5146f
--- /dev/null
@@ -0,0 +1 @@
+<mxfile host="www.draw.io" modified="2020-01-06T11:50:02.626Z" agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" etag="YYlK_tpLxuLgSPVJ6t3b" version="12.4.8" type="device"><diagram id="WpU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/Fzl4Kn759HUnB6ddNFTLeMgX0topib1ahKFoNbVwqVdd46VpYFFIji2StTh1IPy9x9wP1YN33/MiENn6g4tdNIPiXb9CPCoCeNkFNpKR2r0PBiD7LT7FLRp3n1Piz7/Dw==</diagram></mxfile>
\ No newline at end of file
diff --git a/ssh-session.pdf b/ssh-session.pdf
new file mode 100644 (file)
index 0000000..2f80c10
Binary files /dev/null and b/ssh-session.pdf differ
diff --git a/ws-session.drawio b/ws-session.drawio
new file mode 100644 (file)
index 0000000..3aaa019
--- /dev/null
@@ -0,0 +1 @@
+<mxfile host="www.draw.io" modified="2020-01-06T09:57:05.296Z" agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" etag="s31aHYVeEoeNfojkjADl" version="12.4.8" type="device"><diagram id="WpU2nV0nbisVXbfxBrzP" name="Page-1">7VrbcqM4EP0aP5pC4mYekziz+zCpSlWmdidPKQwyVgUQC/Il8/XbAnERkGAnJp7ZWTsVo0ZqSd1H3acpZsZNfPgj89LNHQtINMN6cJgZyxnGyMR4Jv704KWUYB2ZpSTMaCB7NYIH+oNIoS6lWxqQXOnIGYs4TVWhz5KE+FyReVnG9mq3NYvUWVMvJD3Bg+9FfenfNOCbUrqw9Eb+J6HhppoZ6fJO7FWdpSDfeAHbt0TG7cy4yRjj5VV8uCGRsF5ll3Lcl1fu1gvLSMKPGbBEdwZzfvyVWd/C5f5Rv7t7TOZSy86LtnLDcrH8pbKAl6elYdf0QEDXdUoyGhNOMpDBFOAJct+Irjc8juAOgksvomEC1z4ssbhX20CHRuDlG6GwaOSp59Mk/MZSEBggoHHhmep3SeMQ9hbRFfz3fE535CmgGayMZS/ihpdylj75EYW5tHwXwlC5N5JxcnjVaKh2BYCYMNiF0KdXA1zpPYlfWzb3DRZMqxRtWjCo4OFJ9IW14sZBcCF9dIK/8Li/2JZHNCE39YEQ5l2zhN+wiGVFHwO+X8Ss12HmBcJi1b2EJcLoaxpFQ91znrFn0ums+FF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5OdoN0V7N1t/nYamBzrMHANvS8YLK4hs/Bct7BVt7LjKZnOfaRLAdf9KHyvH6toXquZzZp8mQyg+zOs2W3r2xqyjJSfalhhXYFq/MGtq8spFCp6Q9VzTYW5Hrzg6y3yN+72HPfpnm48yx14KHA0HnCk0VGPML43gmt8wB0w7l4belK7FH8XTYJfxruRt4A6L0xMfQKgHkeFEGzeeOqjILNi2vG7b8=</diagram></mxfile>
\ No newline at end of file
diff --git a/ws-session.pdf b/ws-session.pdf
new file mode 100644 (file)
index 0000000..bb03e46
Binary files /dev/null and b/ws-session.pdf differ