Marco Ricci
Support the "all signatures are deterministic" feature of some SSH agents
Marco Ricci commited ac01cac at 2024-11-13 21:18:07
# SPDX-FileCopyrightText: 2024 Marco Ricci <software@the13thletter.info>
#
# SPDX-License-Identifier: MIT
"""Types used by derivepassphrase."""
from __future__ import annotations
import collections
import enum
import json
import math
from typing import TYPE_CHECKING
from typing_extensions import (
NamedTuple,
NotRequired,
TypedDict,
)
if TYPE_CHECKING:
from collections.abc import MutableSequence, Sequence
from typing import Literal
from typing_extensions import (
Any,
Required,
TypeIs,
)
__all__ = (
'SSH_AGENT',
'SSH_AGENTC',
'KeyCommentPair',
'VaultConfig',
'is_vault_config',
)
class VaultConfigGlobalSettings(TypedDict, total=False):
r"""Configuration for vault: global settings.
Attributes:
key:
The base64-encoded ssh public key to use, overriding the
master passphrase. Optional.
phrase:
The master passphrase. Optional.
unicode_normalization_form:
The preferred Unicode normalization form; we warn the user
if textual passphrases do not match their normalized forms.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX