Source code for pynixd.daemon_extensions.sign_path_info

"""SignPathInfo operation — WireRequest/WireResponse types."""

from __future__ import annotations

from typing import ClassVar

from nix_daemon_protocol.valid_path_info import ValidPathInfo  # noqa: TC001
from nix_daemon_protocol.wire_ops import WireRequest, WireResponse


[docs] class SignPathInfoResponse(WireResponse): """SignPathInfo response — signed ValidPathInfo.""" info: ValidPathInfo
[docs] class SignPathInfoRequest(WireRequest): """SignPathInfo request — ValidPathInfo to sign.""" op: ClassVar[int] = 107 is_extension: ClassVar[bool] = True response_type = SignPathInfoResponse info: ValidPathInfo