KeyPairRepository cleanup