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

FIX: Signature preparation niggles and bugs #197

Merged
merged 8 commits into from
Mar 29, 2022
Merged

Conversation

carlwilson
Copy link
Member

  • refactored ./fido/update_signatures.py to add clarity;
  • generated FIDO sig file now validates against fido/config/fido-formats.xsd
    • fixed inconsistency between FIDO sig schema and 'fido/prepare.py''s use of 'apple_uid' and apple_uti;
  • PRONOM HTTP methods in dedicated ./fido/pronom/http.py module (this needs to get more methods or merging with the SOAP module);
  • added basic (hacky) catch for 404s when downloading test resources;
  • safer use of empty list default for fido/prepare.py FormatInfo:__init__.

- refactored `./fido/update_signatures.py` to add clarity;
- generated FIDO sig file now validates against `fido/config/fido-formats.xsd`
  + fixed inconsistency between FIDO sig schema and 'fido/prepare.py''s use of 'apple_uid' and `apple_uti`;
- PRONOM HTTP methods in dedicated `./fido/pronom/http.py` module (this needs to get more methods or merging with the SOAP module);
- added basic (hacky) catch for 404s when downloading test resources;
- safer use of empty list default for `fido/prepare.py FormatInfo:__init__`.
@carlwilson carlwilson marked this pull request as draft March 2, 2021 16:21
@carlwilson carlwilson requested a review from sevein March 2, 2021 16:22
@carlwilson carlwilson added bug A product defect that needs fixing P1 High priority issues to be scheduled in the upcoming release labels Mar 2, 2021
@carlwilson carlwilson added this to the v1.6 milestone Mar 2, 2021
@carlwilson
Copy link
Member Author

@sevein this is still a draft until I merge my previous PR but shows where I'm headed and the next set of changes.

- allow zero signature elements; and
- ommitted for previous check in.
Base automatically changed from refact/sig-update to rc/1.6 March 3, 2021 12:39
@carlwilson carlwilson marked this pull request as ready for review March 21, 2022 22:42
@carlwilson carlwilson requested a review from mistydemeo March 22, 2022 00:17
@carlwilson carlwilson merged commit f5941d7 into rc/1.6 Mar 29, 2022
@carlwilson carlwilson deleted the fix/prep-niggles branch March 29, 2022 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing P1 High priority issues to be scheduled in the upcoming release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating signatures fails when the URL of the reference file identifier can't be found
1 participant