Esempio n. 1
0
 def clean_clean_key(self, key):
     """Delete the "clean" unsigned key which we exported temporarily."""
     # Remove the temporary exports of the public keys
     paths = [self._tmpfile_path("%s.asc" % x) for x in [self.signer, key]]
     PiusUtil.clean_files(paths)
Esempio n. 2
0
 def cleanup(self):
     """Cleanup all our temp files."""
     PiusUtil.clean_files([self.tmp_keyring, ("%s~" % self.tmp_keyring)])