Web lists-archives.com

Re: Q: Where is keyring packaging guideline?




Hi,

2018年8月24日(金) 16:19 Shengjing Zhu <i@xxxxxxx>:
> FWIW, you don't need to add third party keyrings to
> /etc/apt/trusted.gpg.d/(which will be trusted by apt automatically).
>
> See my example for vscode repo I used,
> ```
> zsj@debian ~ $ cat /etc/apt/sources.list.d/vscode.list
> deb [arch=amd64 signed-by=/etc/apt/3rd.gpg.d/microsoft.gpg]
> https://packages.microsoft.com/repos/vscode stable main
> zsj@debian ~ $ gpg --no-default-keyring
> --keyring=/etc/apt/3rd.gpg.d/microsoft.gpg -k
> /etc/apt/3rd.gpg.d/microsoft.gpg
> --------------------------------
> pub   rsa2048 2015-10-28 [SC]
>      BC528686B50D79E339D3721CEB3E94ADBE1229CF
> uid           [ unknown] Microsoft (Release signing) <gpgsecurity@xxxxxxxxxxxxx>
> ```

Thanks! I didn't know it (signed-by=) until referring https://wiki.debian.org/DebianRepository/UseThirdParty.

Regards,