fluent-bit-docs icon indicating copy to clipboard operation
fluent-bit-docs copied to clipboard

Please stop to use apt-key for install documentation

Open kenhys opened this issue 4 years ago • 2 comments

Problem

Deprecated apt-key command is used to import key. apt-key command will be removed sooner or later.

Actual

https://github.com/fluent/fluent-bit-docs/blob/master/installation/linux/debian.md#server-gpg-key

$ wget -qO - https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -

Expected

Convert key to keyring and refer it by signed-by for example.

sudo apt-key --keyring ./fluent-bit-archive-keyring.gpg add fluentbit.key
$ cat /etc/apt/sources.list.d/fluent-bit.list 
deb [signed-by=/usr/share/keyrings/fluent-bit-archive-keyring.gpg] https://packages.fluentbit.io/debian/buster buster main

kenhys avatar Feb 21 '21 11:02 kenhys

Thanks for reporting @kenhys, I also feel we should mimic Fluentd all-in-one.sh script for installation. Perhaps in that installation script we can change the way keys are installed

agup006 avatar Feb 25 '21 05:02 agup006

@agup006 want me to look at this more generally for packaging? I've added repo config files as well for the Yum-style repos so rather than creating a file you can just download it.

patrick-stephens avatar Jan 21 '22 09:01 patrick-stephens

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Oct 22 '22 02:10 github-actions[bot]