Securing the FOKS implementation
Once the FOKS system is no longer being actively used, it is wise to lock down FOKS with a passPhrase to keep it secure.
Set a passphrase for FOKS. Note the example below is using the foks cli.
PS> foks passphrase set
DON'T LOSE YOUR PASSPHRASE
A secure passphrase can be generated as follows:
PS> FoksApi SetRandomValue
The generated random value is copied to the clipboard.
Enter the following command to lock the FOKS implementation.
PS> FoksApi Lock
On each execution of FoksApi, it will check if FOKS is locked and prompt for a passphrase to unlock.