From owner-freebsd-hackers@freebsd.org Sat Jan 4 22:30:21 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 6A68F1DB9FE for ; Sat, 4 Jan 2020 22:30:21 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47qxL40fmfz4hps for ; Sat, 4 Jan 2020 22:30:19 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 004MUFeL019606 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 4 Jan 2020 23:30:16 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578177016; bh=OFWeHtKqS7BBFhylWykhSifdO6Tfk3I3/hTP4c9JXos=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=U1SA8JlL3nk57sC1nRR3GSHWoga6hSLFZir+PfPlhH3dAMsO4WxLnRkmDn1vJNEfe h1NBV1tlVHkLh9Ld/zjwmFYTTjARLULIRfnRMP9sw2IJPgIpDfI/FXYuqfU38msEE1 BWr4T+prVeU7h9MCU8Y+H1tyZxgDM3Vg8kFYs3Uc= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 004MUFGt019603; Sat, 4 Jan 2020 23:30:15 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sat, 4 Jan 2020 23:30:15 +0100 (CET) From: Wojciech Puchar To: RW cc: freebsd-hackers@freebsd.org Subject: Re: geli - changing keyfile In-Reply-To: <20200102224332.50eabafb@gumby.homeunix.com> Message-ID: References: <20200102224332.50eabafb@gumby.homeunix.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47qxL40fmfz4hps X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=U1SA8JlL; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.18)[ip: (-8.41), ipnet: 194.1.144.0/24(-4.20), asn: 43476(-3.36), country: PL(0.07)]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2020 22:30:21 -0000 >> password. > > I've never had cause to do this, but it would be done with geli setkey. > > Note that if an attacker has a copy of either the geli metadata sector > or a geli metadata back-up file, the old key-file can still be used to > access your data. nobody have my keyfiles. i just moved disk to other server and want them use the same keyfile than other disks