Skip to content

Remove crypto functions already available in library dependency #656

Closed

Description

@vladimir-v-diaz

Description of issue:

Some crypto functions implemented in TUF are duplicates of functions available in securesystemslib.

Current behavior:

For example, generate_and_write_rsa_keypair() is also provided by securesystemslib's equivalent.

Expected behavior:

The TUF library should replace all crypto functions that are already available in securesystemlib.

Activity

  1. added
    good first issue
    on Mar 22, 2018
  2. Skchoudhary commented on Oct 3, 2018

    @Skchoudhary

    Hi @vladimir-v-diaz, I would like to work on this issue.Can you guide me which methods/file to look.

  3. awwad commented on Oct 3, 2018

    @awwad
    Contributor

    There's an example in the description.

  4. vladimir-v-diaz commented on Oct 3, 2018

    @vladimir-v-diaz
    ContributorAuthor

    Thanks for the interest, @Skchoudhary. You would essentially replace the crypto functions in repository_lib.py that are duplicated in SSLib's interface.py.

    @awwad will be able to confirm the specific functions that you are thinking of replacing. A pull request will make it easier for him to give you feedback.

  5. mallenjr commented on Oct 25, 2018

    @mallenjr

    Has this issue been resolved? I am looking at the code in the file mentioned above and from what I can tell the functions have all been converted over to the functions that are available in securesystemslib.

  6. tobithegreat commented on Nov 15, 2018

    @tobithegreat

    Hello! It seems like this issue hasn't been resolved yet. I'd like to submit a pull request if that's alright.

  7. joshuagl commented on Sep 12, 2019

    @joshuagl
    Member

    I think this issue was resolved by PR #460? Or is it preferable to go one step further and remove the tuf methods which simply wrap functionality in securesystemslib? Such as import_ed25519_publickey_from_file()?

  8. lukpueh commented on Sep 12, 2019

    @lukpueh
    Member

    It looks like (pending) #804 also made some contributions there. I'll go ahead and review it.

    Regarding you question, @joshuagl, I think (for now) we want to keep the wrappers to not change TUFs interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions