I've noticed that this is where make check tries to access : Mono.Security/Mono.Security.Cryptography/KeyPairPersistence.cs:218 it uses _userPath, which uses Environment.SpecialFolder.ApplicationData. Therefore it seems that mono does not take XDG_* variables into consideration when initializing this property. Best regards, Jurek Bartuszek