Uploaded image for project: 'Bitrepository'
  1. Bitrepository
  2. BITMAG-1075

A salt type algorithm should be inferred if -S argument is supplied

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Commandline client
    • None
    • Bit Sprint 1

    Description

      There is currently a binding between the -S and -R arguments in the commandline client. The user guide states:

      • -R [OPTIONAL] The algorithm of checksum to request in the response from the pillars. Allowed values are: MD5, SHA1, SHA256, SHA384, SHA512. If using a salt, prefix the listed types with HMAC_, eg. HMAC_MD5.
      • -S [OPTIONAL] The salt of checksum to request in the response. Requires the -R ChecksumType (algorithm) argument with a salt type algorithm.

      This could be simplified by just accepting the algorithm types MD5, SHA1, SHA256, SHA384, SHA512, and let the cmd client automatically update these to the salted types if a -S argument is supplied.

      Attachments

        Activity

          People

            masj Mathias Søby Jensen
            mss Mikis Seth Sørensen (Inactive)
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: