pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/55448: security/py-cryptodome PLIST issues



The following reply was made to PR pkg/55448; it has been noted by GNATS.

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: pkg/55448: security/py-cryptodome PLIST issues
Date: Thu, 2 Jul 2020 20:28:10 +0200

 The package's installation routine does funny stuff:
 
 % uname -rsm
 NetBSD 9.0_STABLE amd64
 % l 
 /var/obj/pkgsrc/security/py-cryptodome/work/pycryptodome-3.9.8/build/lib.netbsd-9.0_STABLE-amd64-3.7/Crypto/SelfTest/PublicKey/test_vectors/RSA/
 total 16
 -rw-r--r--  1 hf  wsrc   659 Dec 14  2019 gen_rsa_2048.sh
 -rw-r--r--  1 hf  wsrc    33 Dec 14  2019 openssl_version.txt
 -rw-r--r--  1 hf  wsrc  1675 Dec 14  2019 rsa2048_private.pem
 -rw-r--r--  1 hf  wsrc  1843 Dec 14  2019 rsa2048_private_openssh.pem
 -rw-r--r--  1 hf  wsrc  1704 Dec 14  2019 
 rsa2048_private_openssh_old.pem
 -rw-r--r--  1 hf  wsrc  1896 Dec 14  2019 
 rsa2048_private_openssh_pwd.pem
 -rw-r--r--  1 hf  wsrc  1708 Dec 14  2019 
 rsa2048_private_openssh_pwd_old.pem
 -rw-r--r--  1 hf  wsrc   381 Dec 14  2019 rsa2048_public_openssh.txt
 %
 
 vs.
 
 % uname -rsm
 SunOS 5.11 i86pc
 % l 
 /var/obj/pkgsrc/security/py-cryptodome/work/pycryptodome-3.9.8/build/lib.solaris-2.11-i86pc.64bit-3.7/Crypto/SelfTest/PublicKey/test_vectors/RSA/
 total 32
 -rw-r--r--   1 hf       root         659 Jan  1  1970 gen_rsa_2048.sh
 -rw-r--r--   1 hf       root          33 Jan  1  1970 
 openssl_version.txt
 -rw-r--r--   1 hf       root        1675 Jan  1  1970 
 rsa2048_private.pem
 -rw-r--r--   1 hf       root        1843 Jan  1  1970 
 rsa2048_private_openssh.pem
 -rw-r--r--   1 hf       root        1704 Jan  1  1970 
 rsa2048_private_openssh_old.pem
 -rw-r--r--   1 hf       root        1896 Jan  1  1970 
 rsa2048_private_openssh_pwd.pem
 -rw-r--r--   1 hf       root        1708 Jan  1  1970 
 rsa2048_private_openssh_pwd_old.pe
 -rw-r--r--   1 hf       root         381 Jan  1  1970 
 rsa2048_public_openssh.txt
 %
 
 Compare the timestamps, and the extensions (".pem" vs. ".pe"). The 
 paths of the files which are in the local filesystem but not in the 
 PLIST (see original report) actually have all the same length, 
 indicating a string truncation issue.
 
 


Home | Main Index | Thread Index | Old Index