Encrypted repository test