Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Upload a new file with a unique id for this test.
      •  bash bin/bitmag.sh put-file -c integrationtest2 -f conf/ReferenceSettings.xml -i replace_test_2_2022.xml
  2. Replace a file with including the a request of a salted checksum calculated on the pillars, which should be returned.
    1. First retrieve the salted checksum for the file at all pillars:
      •  bash bin/bitmag.sh get-checksums -c integrationtest2 -i replace_test_2_2022.xml -R HMAC_SHA1 -S abab
      1. Count:     Checksum:     Pillars:     FileID:

      2. 4     15abc6f0098da5317ea58e6b850355d760790174     All     replace_test_2_2022.xml

    2. Replace the file and request the salted checksum:
      •  

        bash bin/bitmag.sh replace-file -c integrationtest2 -i replace_test_2_2022.xml -f conf/RepositorySettings.xml -C 41e3d98b0e97f52f94fba6add86ce7db -p sbtape2 -R HMAC_SHA1 -S abab

      1. PillarId results

      2. sbtape2 :     Checksum for replaced file: 15abc6f0098da5317ea58e6b850355d760790174    Checksum for new file: f8fd8422ab0581a37382d2edb01533399c241f3d  

    3. Check that the file is replaced correctly, and that the returned checksums are correct and consistent across the responses returned by the pillars).
      •  bash bin/bitmag.sh get-checksums -c integrationtest2 -i replace_test_2_2022.xml -R HMAC_SHA1 -S abab
      1. Count:     Checksum:     Pillars:     FileID:

      2. 3     15abc6f0098da5317ea58e6b850355d760790174     [kbpillar2, reference2, sbdisk1]     replace_test_2_2022.xml

      3. 1     f8fd8422ab0581a37382d2edb01533399c241f3d     [sbtape2]     replace_test_2_2022.xml

...