From owner-freebsd-hackers@freebsd.org Fri Oct 2 03:50:32 2020 Return-Path: Delivered-To: freebsd-hackers@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 ED31D3F4C84 for ; Fri, 2 Oct 2020 03:50:32 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4C2bcR6sn7z45Zr for ; Fri, 2 Oct 2020 03:50:31 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f179.google.com with SMTP id w3so81041ljo.5 for ; Thu, 01 Oct 2020 20:50:31 -0700 (PDT) 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=kJp7jqGo3vvucYFSyFT7CkjU/HVRu5bLX2RfA/hTQaM=; b=rGCUY/VeUrHUyDywImHuRAtG37tzQdyQ1HrQmRR1Fe0ZmvvgR+Yd+ow0lTr4veJEhB 7kWZAR9aTrxCodhbePk1d9MsgUaZFdkaQhKo2AeeNot10bbmh3tMf80rQ40zcppokFXN ErjvzHu1I9+NO8OxvCCvt9DYm1GbstCNkWubcS962fSYPVp10uFBKJ/+MCW6RRMaep2h /uxjFLzElJ6LTNHR5Tknis+2fkSQqHZsl/sJ2M0ZyzmgO/7gA2YZQkGQ45vRawzaxREk dMFT28/2Z24OtE7cxTMJfIsZqTks/f4EFKY9ArXm4ekMCLiS6jMdeiSL2hsagvHNlZ3J k9RQ== X-Gm-Message-State: AOAM5312AYlWpvq/+m7JDXCf0fzUK9DA4ySrHZZ4TzK2XwyGXvyXwv8Q M9uqiHCOAQAWaEN6/YbPo+3PTxod2hmLgA== X-Google-Smtp-Source: ABdhPJzyvlaOuXoeKyfzx+lA7asePYEZy0SyKi60jq8gCCNrsvPxRy3/t69K58FR3+nDL9IG6laguA== X-Received: by 2002:a2e:b52c:: with SMTP id z12mr102482ljm.437.1601610629265; Thu, 01 Oct 2020 20:50:29 -0700 (PDT) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id b22sm48085lff.183.2020.10.01.20.50.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 20:50:29 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id y4so73806ljk.8 for ; Thu, 01 Oct 2020 20:50:28 -0700 (PDT) X-Received: by 2002:a05:651c:505:: with SMTP id o5mr120784ljp.177.1601610628800; Thu, 01 Oct 2020 20:50:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Fri, 2 Oct 2020 07:50:21 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Idea: Signing software with stuff like ssl certs To: Raj J Putari Cc: freebsd-hackers X-Rspamd-Queue-Id: 4C2bcR6sn7z45Zr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.179 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-2.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-0.96)[-0.957]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.64)[-0.638]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.179:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.001]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.179:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2020 03:50:33 -0000 On Fri, Oct 2, 2020, 06:10 Raj J Putari wrote: > No code yet, I don=E2=80=99t want to use qemu because I heard its fast, b= ut really > hacky, but I=E2=80=99m working on buying parallels on the third with my S= SI money > because my dad bought me a mac pro 2013 off amazon (which is amazing by t= he > way) > > For ports and packages, a package distributor signs the software with an > encrypted key, and in the kernel we check it and decrypt it on the fly, o= r > store information in the swap (which can be encrypted as well), or in a > directory, I suggest in the /var or possible /usr directory, but I don=E2= =80=99t > really want to break heirachy for systematic reasons > > In the kernel, probably in some directory, we have a source file that > loads, checks, and does various checks on the cert and checks it, and if = it > passes the tests, it loads it into memory and executes it, using > conventional programming > > Failing that, and I can work on this later, but I prefer if someone else > did, we can just have a userland application that generates a key and sig= ns > it (not sure how, I haven=E2=80=99t really googled or checked on it) > > Also we need some kind of web site and possible a protocol (welcome back > 90s) that deals with issuing certificates for software such as > applications, software, and device drivers, kind of like letsencrypt > > My logic is that if you cannot access a resource due to encryption, you > cannot hack it > > I honestly suggest. Fork, since if you encrypt the entire kernel, theres > going to be problems, so I strongly suggest everyone team up with their > associates and make a fork, or possibly implement it in openbsd > > What does everyone think? When I get my check, im going to cludge around > in FBSD13-CURRENT > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > No offense, but the message looks like it was autogenerated using some neural network algorithm. Sorry if I'm mistaken. >