在进行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
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
Hi kotoriminamidesu, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-QA, and any of the maintainers: @DisNight , @wubodong , @将进酒杯莫停 , @ltx , @lemon.higgins , @Charlie_Li , @Fengguang , @SupMario , @yangzhao_kl , @saarloos , @hfutsdd , @丈青山 , @duyiwei , @douyan , @李壮 , @wangpeng , @qiang.wei , @张以正 , @付善庆
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论