Пример #1
0
 public function setUp()
 {
     parent::setUp();
     // In GnuPG 2.1 first operation on a keyring in v1 format
     // will cause format update and several IMPORT_OK responses
     // This way we clean the state first
     $this->gpg->getKeys();
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->generator = new Crypt_GPG_KeyGenerator($this->getOptions());
 }