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

Added support for the System-Token header #138

Merged
merged 1 commit into from
Jul 26, 2022

Commits on Jul 21, 2022

  1. Added support for the System-Token header

    In order to detect system duplicates, SCC implemented a `System-Token`
    mechanism in which systems are to report a token that is generated for
    every request from systems.
    
    The Ruby implementation of SUSEConnect stores this into the credentials
    file for every request. If the response did not contain any token (e.g.
    first time that a system contacts SCC or upgrading from and older
    SUSEConnect) then an empty token is stored into the credentials file.
    All in all, this commit brings this Go implementation on par with the
    Ruby one when it comes to detecting system duplicates.
    
    Fixes #125
    
    Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
    mssola committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    0310a47 View commit details
    Browse the repository at this point in the history