From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: k.ninev--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70301: 30.0.50; secrets-create-item mangles cyrillic passwords Date: Tue, 09 Apr 2024 08:18:37 +0000 Message-ID: <1712650236526.1662743497.3911072838@cdots.bg> Reply-To: k.ninev@cdots.bg Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35972"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Vivaldi Mail/6.6.3271.57 To: 70301@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 09 10:20:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ru6iI-0009A6-BU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Apr 2024 10:20:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ru6i0-0005n6-Ct; Tue, 09 Apr 2024 04:20:00 -0400 Original-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 1ru6hx-0005mb-IP for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 04:19:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ru6hx-0000vd-9j for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 04:19:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ru6i4-0006B7-SK for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 04:20:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: k.ninev@cdots.bg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Apr 2024 08:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70301 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171265075523493 (code B ref -1); Tue, 09 Apr 2024 08:20:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Apr 2024 08:19:15 +0000 Original-Received: from localhost ([127.0.0.1]:48223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ru6hF-00066c-1p for submit@debbugs.gnu.org; Tue, 09 Apr 2024 04:19:14 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:51464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ru6h8-00064h-Ng for submit@debbugs.gnu.org; Tue, 09 Apr 2024 04:19:10 -0400 Original-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 1ru6gu-0005h2-OO for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 04:18:53 -0400 Original-Received: from mail.cdots.bg ([91.92.199.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ru6gs-0000nV-2m for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 04:18:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 76FE7A002215 for ; Tue, 9 Apr 2024 11:18:39 +0300 (EEST) Original-Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavis, port 10032) with ESMTP id Zlxrxzk38Tf2 for ; Tue, 9 Apr 2024 11:18:38 +0300 (EEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cdots.bg (Postfix) with ESMTP id 57EFEA0BCEC6 for ; Tue, 9 Apr 2024 11:18:38 +0300 (EEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cdots.bg 57EFEA0BCEC6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdots.bg; s=38EB8BB6-1E4E-11E5-AEB1-E0FC2BDD2164; t=1712650718; bh=Bs+Hk2fIJnaZhjyjMM/IJ+kx3ECvvXgMQUBZmHn/y7s=; h=Message-Id:From:To:Date:MIME-Version; b=VtpRm8bQEH766SzQhWbHi/VP8HX1iEjrV4XKBX2f2lqW17pfSuiZeHf6Fx1o+V88O Pxua9S+0sGixxTYuKhVz0F0/1ne33f1nL2AXmnga0J44QFAKlmpNBqYa6i5wa30ld0 J+8+Gm4E/lSJNFV8wh/irbtzGFaoLuN2NY3Oo29I= X-Virus-Scanned: amavis at mail.cdots.bg Original-Received: from mail.cdots.bg ([127.0.0.1]) by localhost (mail.cdots.bg [127.0.0.1]) (amavis, port 10026) with ESMTP id GhRgwctPHUzO for ; Tue, 9 Apr 2024 11:18:38 +0300 (EEST) Original-Received: from noip.localdomain (unknown [85.196.152.25]) by mail.cdots.bg (Postfix) with ESMTPSA id 37204A0D30C9 for ; Tue, 9 Apr 2024 11:18:38 +0300 (EEST) X-Mailer: Vivaldi Mail Received-SPF: pass client-ip=91.92.199.54; envelope-from=k.ninev@cdots.bg; helo=mail.cdots.bg 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, 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-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282975 Archived-At: using this Secret Service API code in 'emacs -Q' (require 'secrets) (secrets-create-item "session" "my item" "=D0=BF=D0=B0=D1=80=D0=BE=D0=BB= =D0=B0" :method "sudo" :user "joe" :host "remote-host") Successfully creates an entry but the password "=D0=BF=D0=B0=D1=80=D0=BE= =D0=BB=D0=B0" is mangled to "?0@>;0" and cannot be viewed both with M-x secrets-show-secrets=20 and secret-tool cli tool , this does not occur with latin passwords Tested with both gnome-keyring and keepassxc as API backends. --text follows this line- In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-04-08 built on arch-nspawn-197981 Repository revision: 600ac35cc6597b63306786bffd0d762f70555322 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games --with-modules --without-m17n-flt --without-gconf --with-native-compilation=3Dyes --with-xinput2 --with-pgtk --without-xaw3d --with-sound=3Dno --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=3Ds/\([ec]tags\)/\1.emacs/' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt = -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/build/emacs-git/src=3D/usr/src/debug/emacs-git -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_MONETARY: bg_BG.UTF-8 value of $LC_NUMERIC: bg_BG.UTF-8 value of $LC_TIME: bg_BG.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental --=20 KN