From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YJfgGEY4dGMt1gAAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 02:09:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UJCxGEY4dGPvUAAAauVa8A (envelope-from ) for ; Wed, 16 Nov 2022 02:09:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 11828CC66 for ; Wed, 16 Nov 2022 02:09:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov6vJ-0000fU-0s; Tue, 15 Nov 2022 20:09:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov6vH-0000fA-A3 for bug-guix@gnu.org; Tue, 15 Nov 2022 20:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov6vH-0006mY-2F for bug-guix@gnu.org; Tue, 15 Nov 2022 20:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ov6vG-00024n-Jw for bug-guix@gnu.org; Tue, 15 Nov 2022 20:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59292: libreoffice password protection doesn't work Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Nov 2022 01:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59292 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59292@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16685609147945 (code B ref -1); Wed, 16 Nov 2022 01:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 01:08:34 +0000 Received: from localhost ([127.0.0.1]:55597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov6un-000244-Pr for submit@debbugs.gnu.org; Tue, 15 Nov 2022 20:08:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:35008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov6ui-00023s-8X for submit@debbugs.gnu.org; Tue, 15 Nov 2022 20:08:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov6ui-0000dZ-34 for bug-guix@gnu.org; Tue, 15 Nov 2022 20:08:28 -0500 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov6uf-0006jH-Rg for bug-guix@gnu.org; Tue, 15 Nov 2022 20:08:27 -0500 Received: by mail-qt1-x82e.google.com with SMTP id l2so9872139qtq.11 for ; Tue, 15 Nov 2022 17:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=uns/QcDDu3DGUnSusG5eMUhCNIvkMrYrxzgN6ICEvAA=; b=oBA5Kceq96yi4AIurfJgbtrdWzKZe5Xd8UOm3d9OZvlJOcP3zK5J0NbBf9r3SXQVYi S9Bx1ErO8G7j5D/iApML3W1DRz5EkaC2pUl9ScoeOebiKCnl5CgQx6X71VZY6amRS2bJ tjy4X6LO+zaMoho8qPs8WeU7soVlrhm/3LckOEO2Q8BgbhDDXRDcsPxGGVovXUZXCCRl fYwBg40WbBjj/go1E4L/+ivxqRi5wecVITqkWPXDMiuqYYUfsE8zOc08PsN22h92KUuN vyiu1HKdlw5RwYYNXiQb3TnzlMEElv/EDajrHizRNHDxZrRbmS5q+nqJQdfnh2qZSg3g gVSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uns/QcDDu3DGUnSusG5eMUhCNIvkMrYrxzgN6ICEvAA=; b=V+7fq+OKqi0f4z3nxgdFpiWBPqJ8jDW+Kyf6/7va+h6XId8mGAj7nRxDgbhC+UPI0Y WWm2TDXeyAQTQzFnGDBQuZUDh0HTP2sxIp+VTzNy9vocNDyAVVyP3ymYiWuxJP5D8BZ/ NWoO0b1oYjvO0sPCCoUcpeMKkAgVbe8QtvgdAZ1jmlhLppAkjIWvLKTEN7t/wDw7dRUt Kh0E/BeH1m6rcS8zmagOFglyaf7nfMuk5BGMrbU4AzXsbvHoHJmk7OW9AdmRA2XuvvmC TL3Ms8ogSgZcWUihZIdx1+Zlh7D1B/t4QxxTLzMAuolOSFNEne6/ddqJoLVBp7DXfoF7 eteA== X-Gm-Message-State: ANoB5pmiG7jbUPcdbaJYhKZEn2i1yEO/e7xc3abacfOYr8+qUcEa1YH8 JHgJ1bWrW15Fi9ZJiKwejrBIHj2WEd24sg== X-Google-Smtp-Source: AA0mqf4h8k++SU9lpNuk0/ukHXRu22OT02Z+kf5CUcmgvxSp6JZ/sjiR7QqgIqDikt7yVqKSpzOpcw== X-Received: by 2002:ac8:7646:0:b0:391:6892:16cb with SMTP id i6-20020ac87646000000b00391689216cbmr19255601qtr.332.1668560904534; Tue, 15 Nov 2022 17:08:24 -0800 (PST) Received: from hurd (dsl-151-98.b2b2c.ca. [66.158.151.98]) by smtp.gmail.com with ESMTPSA id t19-20020a05620a451300b006fafc111b12sm9183096qkp.83.2022.11.15.17.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 17:08:24 -0800 (PST) From: Maxim Cournoyer Date: Tue, 15 Nov 2022 20:08:19 -0500 Message-ID: <87sfijln98.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668560966; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=uns/QcDDu3DGUnSusG5eMUhCNIvkMrYrxzgN6ICEvAA=; b=gJDJkY83LGGThA0tl1eWjCfF3Vq1Rsbd4OuHx9Y8gF2o/pXCAjOUwWEEXabIERtL/ObSdg 2aMKGXXcd9+nCqx1ehNDUdjm8d36iOGyDlmsZLG+nm2zHEDiEBeB5SIBmvocHaPh+NFHbB Jegta7TJST+Bk7N+9+k1gBBTYoRXQr12KuO8UxkkgrjjUfsBxo3Gmo5r/4nsVaffjoLePB 3tueVl8o320r44621NJ4zmYlv/Q72CDIHb1udb7FJtq9n2L55c8f2xy0NT2hCB48V7MRB0 sSYX/783mOkQbXc49Rn0WcZ5dTxXV23LuMaoOgtAMArm84lrZZbnvUBDAO6/rA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668560966; a=rsa-sha256; cv=none; b=RQ/GeINtBmqDGUMtHwhMcablp5DavEpYgHBNaEhcIIEPbLKY7jU8gzsb5kZO0k9YHLFRQJ YNvFZIDcF31Mb6ra1oM4WwcifyeCyiCoCtXdErY1LLLFARpElgemKdMExNmqTOU22pF27Z qkjLn07VooW5+5El5zscJ48wh6MUQLAcIVXdqbkl7y51nUnoq+ZKbxppEJwo2KcXFbxdOj Fyh1mpjUL1KwqdFIqi4Pza83ASg+eVV6ud02+xNLbfFEvn7IaFyU1ny3H8IcjyoTdqMguK GD9NB+flUncLQvQuTnPEM41LyslAEu2HMrjfGgGGdXAxwGEnr4709dGf8RP6wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oBA5Kceq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oBA5Kceq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 11828CC66 X-Spam-Score: 4.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: /jWSAVRC/y1R Hi, When password-protecting (encrypting) a file with LibreOffice, it fails silently, leaving the file unprotected (!). Reproducer: 1. Launch Calc with 'libreoffice --calc'. 2. Input something in the first cell. 3. Select File -> Save As. At the bottom left of the dialog box, make sure to tick the "Save with password" box. Give it a name, e.g. very-secret.ods, then click on "Save". 4. Enter a dummy password, such as 1234. 5. Quit LibreOffice Calc. 6. Open the assumed protected file, with 'libreoffice --calc very-secret.ods'. Notice the file is open without any password. No output is printed at the console, and if you have an truly password-encrypted file, it won't be able to open it. -- Thanks, Maxim