Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1077267

Bug#997010: pius: -e option is broken

From Łukasz Stelmach <steelman@post.pl>
Newsgroups linux.debian.bugs.dist
Subject Bug#997010: pius: -e option is broken
Date 2021-10-22 12:10 +0200
Message-ID <DaZES-657-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: pius
Version: 3.0.0-2
Severity: important
Control: tags -1 fixed-upstream
X-Debbugs-Cc: none, Łukasz Stelmach <steelman@post.pl>

Dear Maintainer,

Upstream issue report[1] follows:

--8<---------------cut here---------------start------------->8---
I tried

./pius -e -A -r ~/.gnupg/pubring.kbx -s 123456

Got

Traceback (most recent call last):
  File "/home/x/pius/./pius", line 365, in <module>
    main()
  File "/home/x/pius/./pius", line 346, in main
    if signer.sign_all_uids(key, retval):
  File "/home/x/pius/libpius/signer.py", line 741, in sign_all_uids
    self.encrypt_signed_uid(key, uid["file"])
  File "/home/x/pius/libpius/signer.py", line 405, in encrypt_signed_uid
    gpg.stdin.write("\n")
TypeError: a bytes-like object is required, not 'str'

Everything goes well without -e.
--8<---------------cut here---------------end--------------->8---

The issue has been fixed[2]

[1] https://github.com/jaymzh/pius/issues/138
[2] https://github.com/jaymzh/pius/pull/139

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU threads)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pius depends on:
ii  gnupg    2.2.27-2
ii  python3  3.9.2-3

pius recommends no packages.

pius suggests no packages.

-- no debconf information

-- 
Miłego dnia,
Łukasz Stelmach

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#997010: pius: -e option is broken Łukasz Stelmach <steelman@post.pl> - 2021-10-22 12:10 +0200

csiph-web