{"id":3228,"date":"2012-05-15T21:16:24","date_gmt":"2012-05-15T18:16:24","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=3228"},"modified":"2012-05-15T21:16:24","modified_gmt":"2012-05-15T18:16:24","slug":"would-this-work","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2012\/05\/15\/would-this-work\/","title":{"rendered":"Would this work"},"content":{"rendered":"<p>If transmitting the private ssh key over to the server is what we want to avoid, would this work:<\/p>\n<p>1. Encrypt the fs with a symmetric key, encrypt the symmetric key with the ssh public key, store the asymmetrically encrypted symmetric key outside the encrypted fs, throw away the unencrypted symmetric key.<br \/>\n2. When logging in (and after establishing a secure link), send the encrypted (symmetric) key to client for decryption, get back an unencrypted key to use for decrypting the fs.<\/p>\n<p>(I&#8217;m only beginning to understand modern cryptography, so I may just have made a fool of myself, but what the hey, you live and learn.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would this work: encrypt the fs with a symmetric key, encrypt it with the ssh key, send it to client for decryption at login.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[3157,2641],"class_list":["post-3228","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-ssh","tag-turvallisuus","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/3228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=3228"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/3228\/revisions"}],"predecessor-version":[{"id":3229,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/3228\/revisions\/3229"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=3228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=3228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=3228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}