Skip to content

Commit

Permalink
Add automatic whitelist re-signing
Browse files Browse the repository at this point in the history
Related to #9

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/WATonomous/cvmfs-ephemeral/issues/9?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
alexboden committed Dec 21, 2024
1 parent c29662d commit 23051b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Coming soon:
- When using the custom FastAPI upload server, speeds reach over 400MiB/s easily. We'll adopt this approach.
- [x] Garbage collection
- [ ] Better documentation
- [ ] Automatic [whitelist re-signing](https://cvmfs.readthedocs.io/en/stable/apx-security.html#signature-details)
- [x] Automatic [whitelist re-signing](https://cvmfs.readthedocs.io/en/stable/apx-security.html#signature-details)

### Manual Testing

Expand Down
6 changes: 6 additions & 0 deletions server/src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ ln -s /srv/cvmfs /var/www/cvmfs
a2enmod headers expires proxy proxy_http
service apache2 start

# Add cvmfs_server resign command
cvmfs_server resign

# Schedule cvmfs_server resign command to run daily using a cron job
echo "0 0 * * * root cvmfs_server resign" > /etc/cron.d/cvmfs_resign
cron

0 comments on commit 23051b3

Please sign in to comment.