Skip to content

Conversation

@ancorgs
Copy link
Contributor

@ancorgs ancorgs commented Apr 21, 2025

Problem

We recently implemented support for specifying a certificate to be used during registration. See #2270.

Conversion of the fingerprints in an AutoYaST profile to the new Agama configuration format is still missing.

Solution

Implement the conversion of AutoYaST reg_server_cert_fingerprint and reg_server_cert_fingerprint_type to the Agama format:

{
  "security": {
    "sslCertificates": [
      { "fingerprint": "01:12:34:45:56:67:78:89:90", "algorithm": "SHA1" }
    ]
  }
}

Testing

Added new unit tests

@ancorgs ancorgs force-pushed the autoyast_fingerprint branch from 66f62ad to 6df2c70 Compare April 21, 2025 10:39
@ancorgs ancorgs force-pushed the autoyast_fingerprint branch from 6df2c70 to 02bb81d Compare April 23, 2025 07:34
@ancorgs ancorgs force-pushed the autoyast_fingerprint branch from 02bb81d to 46fe922 Compare April 25, 2025 13:30
@ancorgs ancorgs marked this pull request as ready for review April 25, 2025 13:34
@ancorgs ancorgs merged commit 5386a66 into agama-project:master Apr 25, 2025
3 checks passed
@imobachgs imobachgs mentioned this pull request May 26, 2025
imobachgs added a commit that referenced this pull request May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants