jiangcuo / Proxmox-Port

Proxmox VE arm64 riscv64 loongarch64
GNU Affero General Public License v3.0
727 stars 37 forks source link

GPG signing key curl command download empty file #64

Closed UbioZur closed 6 months ago

UbioZur commented 6 months ago

Describe the bug Following the wiki or the repo.md file inside the help folder. The curl command curl https://mirrors.apqa.cn/proxmox/debian/pveport.gpg download an empty file.

curl -L https://mirrors.apqa.cn/proxmox/debian/pveport.gpg download the proper file.

To Reproduce Steps to reproduce the behavior:

  1. curl https://mirrors.apqa.cn/proxmox/debian/pveport.gpg -o pveport.gpg
  2. cat pveport.gpg
  3. File is empty

Expected behavior I am no expert but following other answer from curl issues, it seems to be due to curl not following redirection, so -L need to be added to the curl command. So the wiki and the help/repo.md file should be fixed.

teranex commented 6 months ago

I also just ran into this issue. Adding -L to curl fixed it indeed.

jiangcuo commented 6 months ago

This issue should be that I have enabled the Cloudflare redirect policy yesterday. I've updated the wiki, thanks for the feedback

UbioZur commented 6 months ago

This page also need to be changed (in case people use it instead of the wiki)

https://github.com/jiangcuo/Proxmox-Port/blob/main/help/repo.md

jiangcuo commented 6 months ago

This page also need to be changed (in case people use it instead of the wiki)

https://github.com/jiangcuo/Proxmox-Port/blob/main/help/repo.md

done

UbioZur commented 6 months ago

Thanks, Closing the issue also.