Hi, I found the cause of the problem. The effective 'tr' command on my system is from the rust-coreutils package which is still in the experimental stage. When I came back to the tr from the good old GNU coreutils, the problem was gone.
Cheers! Xiaolin On Tue, 10 Jan 2023 11:31:47 +0800 WANG Xiaolin <wx672s...@gmail.com> wrote: > Package: pass > Version: 1.7.4-6 > Severity: important > X-Debbugs-Cc: wx672s...@gmail.com > > Dear Maintainer, > > When I tried generating a password with: > > pass generate a.domain.name/username 20 > > it failed with "Could not generate password from /dev/urandom". > > -- System Information: > Debian Release: bookworm/sid > APT prefers testing > APT policy: (400, 'testing'), (50, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages pass depends on: > ii gnupg 2.2.40-1 > ii tree 2.1.0-1 > > Versions of packages pass recommends: > ii git 1:2.39.0-1 > ii qrencode 4.1.1-1 > pn wl-clipboard <none> > ii xclip 0.13-2 > > Versions of packages pass suggests: > ii libxml-simple-perl 2.25-2 > ii perl 5.36.0-6 > pn python <none> > ii python3 3.10.6-3+b1 > ii ruby 1:3.1 > > -- no debconf information > >