Having to reauthorise Bloom may use up auths depending on how they are counted (do you add one to the auth count per successful auth attempt, or just for separate hardware signatures?) In the case of email for more, that takes a day or so, so I cannot quickly get a clone of a template music production account up and running quickly.
Please, next time you tweak the fx licensing system, have a method to authorise once for multiple user accounts (some of which may not have been made yet). This could be as easy as having a command line tool that a new user can run which requires password authentication of the user with the auth.
(users concerned with security can just cat the script to a terminal and step through the commands manually)
Code: Select all
echo "Type in the name of an authorised user"
# user types in username
su "$AUSER" -c "fxauth createToken /tmp/r4ndom345; chmod 644 /tmp/r4ndom345; (sleep 120; rm /tmp/r4ndom; ) & sleep 1 ; disown"
# the subshell () sleep disown bit should cause the token file to be deleted two minutes after the su happens
# which creates a short time window in which to pass the auth on to a new user.
# su requires $AUSER's password and auth.sh never gets to see it
fxauth authFromToken /tmp/r4ndom345
# this should happen within a few seconds of the su command running (but before the delete subshell completes).
# fxauth reads token, validates it to this machines hardware signature and auths fx plugins.
Then all fx plugins work in new user without having to go to fx server. Same number of machines authorised, user is trusted not to abuse this. (Worst case is that unauthorised users of fx plugins still require physical access to the machine on which at least one user is an authorised licence holder, and access to that authorised user's password, which still effectively prevents piracy.)
Example to demonstrate how this time windowing works on Mac command line (copied and pasted from Terminal.app)
Code: Select all
mission-control:Music john1234$ su john -c "echo hello > /tmp/11; chmod 644 /tmp/11; (sleep 10; rm /tmp/11; ) & sleep 1; disown" ; cat /tmp/11 ; sleep 12; cat /tmp/11
cat: /tmp/11: No such file or directory