As a security measure, all submissions to Nettskjema data in to TSD are encrypted. These encrypted files need to be decrypted before they can be sorted and prepared for use in R (or other programs). To decrypt the data, R needs to have access to the secret key that will verify that the decryption is ok to carry out. This function can verify the existence of a key-file given a specified location, or attempt to auto-detect a key-file.
Usage
nettskjema_tsd_keyfile(
path = Sys.getenv("nettskjema.tsd.keyfile"),
project = NULL,
verbose = NULL
)