A method for distribution of device key sets over a network, the method comprising: generating (S3) a provisioning request including a protected software environment key agreement public key in a protected software environment, PSE , of a client device, and sending (S6) the provisioning request along with a PSE hash and a PSE signature to a quoting enclave of the client device to obtain a quote and an enhanced privacy ID, EPID, signature; obtaining (S10) from a crypto hardware, CH, token, belonging to a user, a token signature for the provisioning request and a token certificate; combining (S11) the provisioning request, the quote, the EPID signature, the token signature, and the token certificate using untrusted software to form a provisioning message, and transmitting (S13) the provisioning message from the client device to an attestation proxy server, APS , using a first network connection; attaching (S16) an APS signature and an APS certificate to the provisioning message based on a result of a verification of the EPID signature in an attestation server, and transmitting the provisioning message along with the APS signature and the APS certificate from the APS to an online provisioning server, OPS , using a second network connection; generating (S20) a provisioning response in OPS that includes an encrypted device key set, and delivering (S24) the provisioning response to the PSE using the first and second network connections, wherein the PSE decrypts (S30) the encrypted device key set included with the provisioning response to obtain the device key set, re-encrypts (S31) the device key set with a local chip-specific sealing key, and stores (S32) the re-encrypted device key set generating (S3) a provisioning request including a protected software environment key agreement public key in a protected software environment, PSE , of a client device, and sending (S6) the provisioning request along with a PSE hash and a PSE signature to a quoting enclave of the client device to obtain a quote and an enhanced privacy ID, EPID, signature; obtaining (S10) from a crypto hardware, CH, token, belonging to a user, a token signature for the provisioning request and a token certificate; combining (S11) the provisioning request, the quote, the EPID signature, the token signature, and the token certificate using untrusted software to form a provisioning message, and transmitting (S13) the provisioning message from the client device to an attestation proxy server, APS , using a first network connection; attaching (S16) an APS signature and an APS certificate to the provisioning message based on a result of a verification of the EPID signature in an attestation server, and transmitting the provisioning message along with the APS signature and the APS certificate from the APS to an online provisioning server, OPS , using a second network connection; generating (S20) a provisioning response in OPS that includes an encrypted device key set, and delivering (S24) the provisioning response to the PSE using the first and second network connections, wherein the PSE decrypts (S30) the encrypted device key set included with the provisioning response to obtain the device key set, re-encrypts (S31) the device key set with a local chip-specific sealing key, and stores (S32) the re-encrypted device key set <EOS>