Skip to content

import all private keys in file during setup #3237

@tomholub

Description

@tomholub

But now I'm thinking of this one :) Eventually we'll make KeyUtil.parse throw when it encounters more than one key.

As long as we do have a test for this scenario: // filter out all content except for the first encountered private key (GPGKeychain compatibility) then it's no problem - whenever we change it, we'll bump into the test and resolve it.

Actually, it's not the most ideal as is - if I give it two private keys, I may actually want to import two private keys. But now we're talking about importing more than one key at once, which is a different issue, I'll make a separate ticket for it.

Originally posted by @tomholub in #3216 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions