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

FEAT: Automatic Signature Updates: #208

Merged
merged 16 commits into from
Mar 29, 2022
Merged

FEAT: Automatic Signature Updates: #208

merged 16 commits into from
Mar 29, 2022

Conversation

carlwilson
Copy link
Member

  • extra options for sig file management:
    • list available sig files;
    • check if new files exist;
    • update automatically; and
    • download specific version;
  • 'versions.xml' now has update site field;
  • updated README.md with new signature update instructions; and
  • fixed minor markdown style issues.

Signatures now compiled and hosted on a web based update site:
- Site URL set in config.
- Docker based update web app to host and serve signature information.
- FIDO CLI arguments `-sigs check` and `-sigs update` control automatic signature updates.
This was implemented by:
- implementing a REST service for FIDO signatures in `fido.signatures`;
  + simple flask REST app that parses a static dir/file structure;
  + endpoint to list versions;
  + endpoint that identifies latest version;
  + endpoints to download sig file collateral by version and `latest` for signature updates;
  + added resources for legacy format and container signatures;
- adding simple REST client functionality to FIDO CLI:
  + `-sigs check` compares configured PRONOM sig version with REST latest and indicates if an update is required;
  + `-sigs update` pulls the latest version if the installed version is stale and updates the conf file as required;
- extra options for sig file management:
  - list available sig files;
  - check if new files exist;
  - update automatically; and
  - download specific version;
- 'versions.xml' now has update site field;
- updated `README.md` with new signature update instructions; and
- fixed minor markdown style issues.
@carlwilson carlwilson merged commit cd85271 into rc/1.6 Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant