From cd367e81dd03795a7bf1a922df58ea3b92f9fb37 Mon Sep 17 00:00:00 2001 From: spwhitton Date: Sat, 1 Sep 2018 17:25:38 +0000 Subject: create new bug --- doc/todo/Apt.trustsKey_should_not_invoke_apt-key.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/todo/Apt.trustsKey_should_not_invoke_apt-key.mdwn (limited to 'doc') diff --git a/doc/todo/Apt.trustsKey_should_not_invoke_apt-key.mdwn b/doc/todo/Apt.trustsKey_should_not_invoke_apt-key.mdwn new file mode 100644 index 00000000..d2f9e6db --- /dev/null +++ b/doc/todo/Apt.trustsKey_should_not_invoke_apt-key.mdwn @@ -0,0 +1,9 @@ +[Over at the Debian BTS](https://bugs.debian.org/907290), David Bremner points out that the apt-key manpage, on Debian stable, says + +> Instead of using this [add] [sub]command a keyring should be placed +> directly in the /etc/apt/trusted.gpg.d/ directory with a +> descriptive name and either "gpg" or "asc" as file extension. + +So ISTM that `Apt.trustsKey` should be implemented simply with `File.hasContents`, i.e., the property should delete any old `.gpg` file and then create a `.asc` file with the text string content of the `AptKey`. + +--spwhitton -- cgit v1.2.3