Archive::BagIt::Base::verify_bag() prüft tagmanifest-XXX.txt Dateien nicht #1

Closed
opened 1 year ago by JST · 1 comments
JST commented 1 year ago

Z.B. Prüfsummenfehler von Tag-Dateien (wie bagit.txt, bag-info.txt, manifest-XXX.txt, etc.) werden von verify_bag() nicht erkannt.

Konkretes Beispiel:
Minimal Bag ohne Payload erzeugen, Prüfsumme für manifest-sha512.txt in tagmanifest-sha512.txt überschreiben.

my $bag = Archive::BagIt::Base->new($dir);

my $is_valid = $bag->verify_bag();

print ($is_valid)? "valid bag":"invalid bag";

Z.B. Prüfsummenfehler von Tag-Dateien (wie bagit.txt, bag-info.txt, manifest-XXX.txt, etc.) werden von verify_bag() nicht erkannt. Konkretes Beispiel: Minimal Bag ohne Payload erzeugen, Prüfsumme für manifest-sha512.txt in tagmanifest-sha512.txt überschreiben. my $bag = Archive::BagIt::Base->new($dir); my $is_valid = $bag->verify_bag(); print ($is_valid)? "valid bag":"invalid bag";
JST changed title from Archive::BagIt::Base::verify_bag() prüft tagmanifests-XXX.txt Dateien nicht to Archive::BagIt::Base::verify_bag() prüft tagmanifest-XXX.txt Dateien nicht 1 year ago
art1 commented 1 year ago
Owner

In dev/-branch: testcases added and issued fixed

In dev/-branch: testcases added and issued fixed
art1 closed this issue 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.