(key)
| 296 | } |
| 297 | |
| 298 | addKey(key) { |
| 299 | if (key.isPrivate()) { |
| 300 | this.keystore.privateKeys.push(key); |
| 301 | } else { |
| 302 | this.keystore.publicKeys.push(key); |
| 303 | } |
| 304 | return key; |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * Generate a new PGP keypair and optionally upload the public key to the |
no test coverage detected