Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support encrypted and signed user data #5599

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Commits on Oct 15, 2024

  1. chore: deprecate 'allow_userdata', add 'user_data'

    Rather than an top-level `allow_userdata` key, instead use a `user_data`
    dict. This is to better align with the top-level `vendor_data` keys.
    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    92471e9 View commit details
    Browse the repository at this point in the history
  2. feat: Support encrypted and signed user data

    Cloud-init user data often contains user secrets including passwords
    and private keys. This data has always been submitted in plain text.
    To protect this data's confidentiality and guarantee its authenticity,
    this commit add the ability to have this data encrypted and signed.
    
    A new user data format is added allowing for an ASCII armored PGP
    MESSAGE. If detected, cloud-init will import into a temporary keyring
    any keys provided in /etc/cloud/keys and use these keys to decrypt
    and/or verify the provided data.
    
    After decryption, the resulting message will be treated as user data
    as before.
    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    224b682 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    038bb20 View commit details
    Browse the repository at this point in the history
  4. squash: tests and docs

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3bb1a0a View commit details
    Browse the repository at this point in the history
  5. spelling lint

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8f64f9d View commit details
    Browse the repository at this point in the history
  6. comments

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    168e346 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e2726a View commit details
    Browse the repository at this point in the history
  8. stderr bad

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e92beee View commit details
    Browse the repository at this point in the history
  9. comments

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    126126d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7d40954 View commit details
    Browse the repository at this point in the history
  11. handle userdata list

    TheRealFalcon committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ee2a368 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. unwrap before verify

    TheRealFalcon committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    5c8743a View commit details
    Browse the repository at this point in the history
  2. update docs

    TheRealFalcon committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    2d60e45 View commit details
    Browse the repository at this point in the history