From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sat, 10 Oct 2020 19:48:28 +0200 (CEST) Received: by mail-wm1-x334.google.com with SMTP id d3so12894516wma.4 for ; Sat, 10 Oct 2020 10:48:28 -0700 (PDT) References: From: Milan Broz Message-ID: <1973481a-7b54-e7eb-ea29-f71bdb5acfe4@gmail.com> Date: Sat, 10 Oct 2020 19:48:25 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dm-crypt] SSD encryption using cryptsetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KRISHNAJA MENON , dm-crypt@saout.de On 10/10/2020 05:06, KRISHNAJA MENON wrote: > Setup details: > Machine 1: Ubuntu x86_64 > Machine 2: Linux-aarch64 (arm) > > 1. luksFormat an external SDD on x86 using *aes-cbc-plain:ripemd160* on x86 machine This cipher specification is nonsense, plain IV does not take arguments and it will be rejected by a recent kernels. (Moreover, CBC with plain IV mode is insecure due to predictable IV.) Please *do* *not* change defaults if you do not understand security impact. If you want CBC mode (XTS mode is default for LUKS), use aes-cbc-essiv:sha256 (It should fail even in luksFormat, but you did not send neither debug output nor version related...) Milan