47 Star 44 Fork 280

openEuler/QA

 / 详情

qpdf mugen测试例问题

待办的
任务
创建于  
2023-08-25 02:23

说明

在进行openEuler-RISC-V 23.09 mugen测试时,使用的qpdf的mugen测试脚本在x86与RISC-V架构的qemu镜像下执行发生了以下报错:

+ qpdf --password-mode=bytes --encrypt 123456 123456 40 -- ./common/infile.pdf output6.pdf
qpdf: refusing to write a file with RC4, a weak cryptographic algorithm
Please use 256-bit keys for better security.
Pass --allow-weak-crypto to enable writing insecure files.
See also https://qpdf.readthedocs.io/en/stable/weak-crypto.html
qpdf: refusing to write a file with weak crypto

进行分析后发现为qpdf无法使用弱密码算法写入文件的问题,应属于非问题,故是否可认为此mugen测试例中相关错误均为非问题,若是,又是否考虑对mugen脚本进行修改;亦或是这边测试的方式不对,若不对,可否给出测试方式。

测试环境

qemu-system-x86_64 \
  -cpu host -accel kvm \
  -m 4G \
  -smp 4 \
  -drive file=openEuler-23.09-x86_64.qcow2,format=qcow2 \
  -drive if=pflash,format=raw,file=OVMF.fd \
  -nographic \
  -device virtio-net-pci,netdev=n0 \
  -netdev user,id=n0 \
  -nic user,hostfwd=tcp::20022-:22
  • TIP: 由于23.09 x86_64 默认软件源配置错误,如果要安装软件包则需要如下操作,故默认软件源有一下更改:
sed -i 's/repo.openeuler.org\/openEuler-23.09\//121.36.84.172\/dailybuild\/openEuler-23.09\/alpha_openeuler-2023-08-14-14-17-53\//g' /etc/yum.repos.d/openEuler.repo

相关链接

评论 (1)

KotorinMinami 创建了任务 2年前
openeuler-ci-bot 添加了
 
sig/sig-QA
标签
2年前
KotorinMinami 修改了描述 2年前

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 11460972 kotoriminamidesu 1680232269
1
https://gitee.com/openeuler/QA.git
git@gitee.com:openeuler/QA.git
openeuler
QA
QA

搜索帮助