From owner-freebsd-questions@freebsd.org Fri Nov 22 01:27:22 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 919BE1A8CA1 for ; Fri, 22 Nov 2019 01:27:22 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47JzLd5Z7Xz4CLM for ; Fri, 22 Nov 2019 01:27:21 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x832.google.com with SMTP id q8so3340369qtr.10 for ; Thu, 21 Nov 2019 17:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X6eiOOnRDMLSC/lPMZgQwe5tO90fyay0j2vajI/6P0o=; b=yHhzUQDUHaqGjiRUIPeainh9q6NRUk8uDEI+fzo5iuhf5el707pyc4hwrFpQKrGDuQ /0QmzVnWJfqQXqrxMEzAm/DaG1d/LphgyK4+/BXkkmZP8bp64NqFimMPdcYf6mKz8e/Q 9GRToVm1Fr6cPexFQxqYZ1IHxdi2ZlM9LRDM3aOmFCaygnRADeZqTt5xO4N6O+4Bn+lo BtsHxbkCgquzcIODzrZguurCRiTq3wDjhEzPDmSlI15z/ePe5oWQO0/VFKLan59X9Zy7 cMG2+n6GWOU1Lrhw17pn4yf2CPtTINsVYMTzpfi21qk+aKyJJsGAq5gNkir/keqA5vFS xAeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X6eiOOnRDMLSC/lPMZgQwe5tO90fyay0j2vajI/6P0o=; b=My0OAqdvyk0nriaX/AvcYqpisA4/361oLdpFYgIzBSCWpmvxHwu/+TwcNNZonofUQr gIKTFsmE7tUvCdedrOlnbhBU54I9ZpuEAlK+t6byCM7loVOPPAAuYIeVKNcNrO1vGrn5 frizrlX18bc2T8JUUvM5i8baThEv+Djn5Ksg0WW/UysPP3Jk4vEcAIyXa+X9saNXbQmz l71hVSp4fKfFPH+inR2hx358ryy+MzYmnskr0nwmU6N0EMx9z/1xQM1h+R/Oco2hiAtZ 7Kn3agnWhZKAgaiJp+79t6wXQq2Ic2MjRrSTnJOn3lVsYeh3XPtu0CAVKIT3qWobzV94 xZBw== X-Gm-Message-State: APjAAAUP7BgIbNrVEvdcdh3GJLSoRorCK0Xk18hawcK7uH9K1VHmwO2O 8N+usT6rbcN8s8EqacfsSUKupP0cHLxCCd1/Ew7ryQ== X-Google-Smtp-Source: APXvYqzIB3SRnKRFgyH2jWAkjsaGOu2JxPqoE5XH7p9Iv5tKIJ9QxA5/n4AQr09iR4fljRsHzKT8fn7yn7ariwSHOXA= X-Received: by 2002:ac8:7a92:: with SMTP id x18mr5737382qtr.123.1574386040377; Thu, 21 Nov 2019 17:27:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michael Sierchio Date: Thu, 21 Nov 2019 17:26:44 -0800 Message-ID: Subject: Re: SSH certificates To: Walter Parker Cc: FreeBSD Questions X-Rspamd-Queue-Id: 47JzLd5Z7Xz4CLM X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=yHhzUQDU; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2607:f8b0:4864:20::832) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-5.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.74)[ip: (-9.37), ipnet: 2607:f8b0::/32(-2.29), asn: 15169(-1.97), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2019 01:27:22 -0000 Key signing is a solution to a different problem. The request is for strong auth to a CA which issues a time-limited SSH certificate with an ephemeral key. On Thu, Nov 21, 2019 at 3:10 PM Walter Parker wrote: > > > > > > Message: 3 > > Date: Thu, 21 Nov 2019 10:41:40 +0100 > > From: Julien Cigar > > To: freebsd-questions@freebsd.org > > Subject: SSH certificates > > Message-ID: <20191121094140.GA1374@p52s> > > Content-Type: text/plain; charset=3Dutf-8 > > > > Hello, > > > > I'd like to setup an automated mechanism to replace SSH keys and > > autorized_keys management with SSH certificates. Basically every member > > of the team who arrives in the morning should authenticate to an > > authority (some daemon in a very secure jail which implement a local CA > > + key sign) and should receive back a signed certificate with a validit= y > > period of x hours. > > > > After digging a little I found https://smallstep.com/certificates/ > > and https://smallstep.com/cli/ (which aren't packaged BTW) but I'm > > wondering if there were others similar tools ..? > > > > Thanks! > > > > Julien > > > > > > -- > > Julien Cigar > > Belgian Biodiversity Platform (http://www.biodiversity.be) > > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > > No trees were killed in the creation of this message. > > However, many electrons were terribly inconvenienced. > > > > > > Look at https://github.com/gravitational/teleport > (The source build should work on FreeBSD) > > it is a full security gateway. It uses SSH certificates. > > Or BLESS from Netflix > https://github.com/Netflix/bless > > It uses an AWS Lambda function to sign SSH public keys. > > > Walter > > -- > The greatest dangers to liberty lurk in insidious encroachment by men > of zeal, well-meaning but without understanding. -- Justice Louis D. > Brandeis > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata