From owner-freebsd-questions@freebsd.org Fri Sep 18 22:43:50 2020 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 E3D153F2079 for ; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BtTQZ54fbz4GJK for ; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id AC9613F2078; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) Delivered-To: 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 AC5F63F27AB for ; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 4BtTQY6dfMz4G4X for ; Fri, 18 Sep 2020 22:43:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id x14so8925257oic.9 for ; Fri, 18 Sep 2020 15:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ExvbBSJvqq1j1b3DMkvu3oHzJIdVqoMh6QwiNJvQUUo=; b=YthhMSZIOvLClRjK8JPEv1LDCX/pBlcrAZNoCbXEeRjcQXaarpgWoOZiEyjuY4c86g O2hvB1YKy4QwMWFQG8PqXEMbygBpJzNuwf49ikuwwgjGOzjQwkbPwFTa0vVeRMyNBED2 6yED1dRzjSAvv1P5ioSBCbeE8lAqGup41pH2N2Q9xMsoj1BT2ghdDX0h67impQGohdzD ExCnmbMY2xuLftz0w0N2kDu5jiz44fpCoquW5zi5kd39hQb8Qqo2Cb9QEEPy/JqS4o5h bqB41GAsoBtRYvXMe+ghrZ1VhKNaYZEn/U+6yVD7LHYT9namJgh3KCIakooAzD6+YZQ2 nIaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ExvbBSJvqq1j1b3DMkvu3oHzJIdVqoMh6QwiNJvQUUo=; b=D876O1tIkIBnBYB8+FoE6yiBlmCGZe5GDGXCVjCtYBrzN2nn9R1x/Jv5Dr5WHNpkMT HLlnKG1k9/NDK2KKuMKOrNRj/8ixXKlAU+9imSPyJlZQ8Q98dbE4LF7pTIzAuSsSdVO9 ECdkqLzJEVX4UbRrtBd2JrQJUTI0DzPOLEyFuXgEyLdM75FmdQsbFGRvmI+4X1JsbgkA yD71ZGinr/Fs16NYcEg0EcwQfv37AvACLKv6/16rGgWR/30Ylhny2YdEaZkClh20RaBu rXVlzaY0J5fa4v4APv4sdBnKZ5P1D5FvQHgLYF2LCfX49H20PbNOmqc9Y0rvp1ckX2YW 20/A== X-Gm-Message-State: AOAM532uj1KtqEB8jpB+A9+S0hDdbvzkFRMO04NVClXsHbyqmxNUMNCR wx8XyhJdksIFZm7SXe+m/GE4emNYFT6Ild3xKSVhWV89Poc= X-Google-Smtp-Source: ABdhPJzCODxz80eIUId8Trpl8xksWI+kGoJlyR0UNGu1fgrf5rUXMqvdBOwGuET0e37TmpfnlKTSevl66wiym+olnoA= X-Received: by 2002:aca:d946:: with SMTP id q67mr10747083oig.27.1600469028338; Fri, 18 Sep 2020 15:43:48 -0700 (PDT) MIME-Version: 1.0 From: Kevin Oberman Date: Fri, 18 Sep 2020 15:43:31 -0700 Message-ID: Subject: Create new geli file system using existing key To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BtTQY6dfMz4G4X X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YthhMSZI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.85)[-0.846]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-1.03)[-1.030]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22d:from]; NEURAL_HAM_SHORT(-0.46)[-0.459]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 22:43:50 -0000 I suspect the answer to this is "you can't" and I can understand some strong arguments against it, but I have a case where it would be handy and not a security risk. Can I initialize a GELI partition using the same key I am currently using for teh file system it is replacing? I am moving to a new computer and would love to keep the key (not pass phrase) I am currently using as it will greatly simplify my backup procedure. I could dd copy the existing raw, encrypted partition, but my new system has a larger disk and dd of a partition results in the partition being resized to match the source partition size. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683