(filePath: string)
| 20 | } |
| 21 | |
| 22 | async function parseKey(filePath: string): Promise<KeyObject> { |
| 23 | try { |
| 24 | return parsePublicKey(filePath); |
| 25 | } catch { |
| 26 | // Suppress this error. |
| 27 | } |
| 28 | |
| 29 | return await parseMaybeEncryptedKeyFromFile(filePath); |
| 30 | } |
| 31 | |
| 32 | function readOptions() { |
| 33 | return program |
no test coverage detected