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

Changed LoadKeyFromSSLibBytes to Support RSA Keys #60

Merged
merged 5 commits into from
Nov 20, 2023

Commits on Nov 7, 2023

  1. Changed LoadKeyFromSSLibBytes to Support RSA Keys

    - Changed LoadKeyFromSSLibBytes to support RSA keys
    - Seperated LoadRSAPSSKeyFromFile into helper function LoadRSAPSSKeyFromBytes so that data can be passed as a byte array or as a file name.
    - Made LoadRSAPSSKeyFromBytes into an exported function to use in gittuf/gittuf#174
    - Added test for RSA key to SSLibKey for LoadKeyFromSSLibbytes
    
    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fe60d1b View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Pulled switch case to helper function

    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    49cfbde View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Expanded on LoadRSAPSSKeyFromBytes definition

    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    d3e2d41 View commit details
    Browse the repository at this point in the history
  2. added more to the defenition of load rsa key from bytes

    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b2171bf View commit details
    Browse the repository at this point in the history
  3. fixed fmt error

    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    41c3b9b View commit details
    Browse the repository at this point in the history