Skip to content

Workaround for encryption/decryption failure when ssh into a mac #80

Open
@rayluo

Description

@rayluo

It is observed (from elsewhere) that encryption/decryption attempt would fail when ssh into a mac.

Persistence check failed. Inspect inner exception for details
---> System.Exception: SecKeychainAddGenericPassword failed with error code: -25308

The solution here is to ask the end user to unlock their Mac first via the command:

security unlock-keychain -p $PASSWORD /Users/$USERNAME/Library/Keychains/login.keychain-db

Would need to ideally repro the issue, and then catch the exception and emit that workaround in the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions