compass-numapp-frontend
compass-numapp-frontend copied to clipboard
Don't request a certificate with each user update
Currently, with every user update, a 'new' certificate for the encryption of the questionnaire response is sent back to the user although it rarely - if ever - changes, therefore causing some overhead. So we might as well store it locally and only re-request a new certificate, if the current one is not valid anymore. This would obviously require the backend to be modified as well.