openlawlibrary / taf

The Archive Framework
GNU Affero General Public License v3.0
10 stars 7 forks source link

Extract public key from private if `.pub` file does not exist #425

Closed renatav closed 21 hours ago

renatav commented 1 month ago

If, e.g. snapshot.pub does not exist, but snapshot exists and is a valid private key, create snapshot.pub from snapshot or tell the user how to do it themselves. (e.g. `ssh-key)

Remove a .pub file from the keystore and run a command which needs that key. Confirm that it is not being executed successfully. Load the private key and check if it is possible to access its public counterpart

renatav commented 21 hours ago

Addressed in #462