{"id":1084,"date":"2020-02-29T18:15:10","date_gmt":"2020-03-01T01:15:10","guid":{"rendered":"https:\/\/wmbuck.net\/blog\/?p=1084"},"modified":"2020-05-23T11:19:10","modified_gmt":"2020-05-23T17:19:10","slug":"ssh-certificate-signing","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=1084","title":{"rendered":"SSH Certificate signing"},"content":{"rendered":"\n<p>I&#8217;ve encountered a problem migrating from Fedora to Arch which ends up being about ssh and openssh certificates. I look back and discover that I never posted anything about my movement toward openssh certificates. Curious because I wrote a lengthy document about it (because of my leaky brain &#8211; not because I am any kind of authority on it). <\/p>\n\n\n\n<p>I will probably go back and write a <a href=\"https:\/\/wmbuck.net\/blog\/?p=1087\">post <\/a>about it, and back date it. But now a problem has arisen. Rather than explain, let the boys at openssh speak for themselves, in the release notes for openssh 8.2:   <\/p>\n\n\n\n<!--more-->\n\n\n\n<pre class=\"wp-block-preformatted\">It is now possible to perform chosen-prefix attacks against the SHA-1 hash algorithm for less than USD$50K. For this reason, we will be disabling the \"ssh-rsa\" public key signature algorithm that depends on SHA-1 by default in a near-future release.<\/pre>\n\n\n\n<p> however, later in the document: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">...this release removes the \"ssh-rsa\"    (RSA\/SHA1) algorithm from those accepted for certificate signatures...<\/pre>\n\n\n\n<p>So, you can still use the broken sha1 for a while, if you insist, but for certificates, not so much. Certificates previously signed on an older version of openssh, with the (then) default rsa_sha1 will not be accepted by a &#8220;current&#8221; version of openssh. <\/p>\n\n\n\n<p>My running oregano is on Fedora 30, which has openssh 8.0p1. The Arch I am building has openssh 8.2p1, which has this new prohibition against certificates signed with ssh-rsa, which is ALL OF THEM, since, at the time they were created (within the last six months) that was the default. It is a brand new feature to even be able to specify when signing the certificates what algorithm you want. <\/p>\n\n\n\n<p>So as soon as I boot up oregano on Arch, none of the boxes that attempt to connect can succeed. They are all using certificates now. So I am going to have to reissue the certificates on all of them before I can move oregano to Arch.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve encountered a problem migrating from Fedora to Arch which ends up being about ssh and openssh certificates. I look back and discover that I never posted anything about my movement toward openssh certificates. Curious because I wrote a lengthy document about it (because of my leaky brain &#8211; not because I am any kind &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=1084\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">SSH Certificate signing<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,11,10,46,4,41,33],"tags":[],"class_list":["post-1084","post","type-post","status-publish","format-standard","hentry","category-arch-linux","category-encryption","category-fedora","category-gateways","category-linux","category-networking","category-security"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1084"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1084"}],"version-history":[{"count":4,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1084\/revisions"}],"predecessor-version":[{"id":1130,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1084\/revisions\/1130"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}