canonical/cloud-init

[feature] support key by url in apt configure module

オープン

#4,076 opened on 2023/05/12

 (16 件のコメント) (0 件のリアクション) (0 人の担当者)Python (1,108 件のフォーク)auto 404
enhancementgood first issuehacktoberfestlaunchpad

Repository metrics

Stars
 (3,772 個のスター)
PR merge metrics
 (PR metrics pending)

説明

This bug was originally filed in Launchpad as LP: #2006775

Launchpad user Brett Holman(holmanb) wrote on 2023-02-09T19:08:55.982578+00:00

A common way of distributing keys is by hosting them at a URL for download. This is not currently supported by the apt configure module, and would be a simple addition.

Example usage (note the suggested 'keyurl' key)

apt:
  sources:
      source1:
          keyurl: 'https://domain.io/keys/key1.gpg'
          source: 'deb [signed-by=$KEY_FILE] http://<url>/ jammy main'

コントリビューターガイド