Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ blockiert ist. Siehe die [Sicherheitsgrenzen](docs/SECURITY.md).
dem Anmeldepasswort des Mac).
- **Windows: `no Credential Manager logon session`.** In einer SSH-Sitzung, die sich
mit einem Schlüssel angemeldet hat, gibt es keine Anmeldeinformationsverwaltung. Führe kc
in einer Desktop-Sitzung aus oder verbinde dich per SSH mit einem Passwort.
in einer Desktop-Sitzung aus oder in einem Prozess, der mit deinem Windows-Passwort
gestartet wurde (zum Beispiel mit `Start-Process -Credential` in PowerShell); er bekommt
eine vollständige Anmeldesitzung. Eine SSH-Anmeldung mit Passwort ist keine verlässliche
Lösung: Bei einem Microsoft-Konto kann Windows sie ablehnen, auch wenn das Passwort stimmt.
- **Linux: Der Schlüsselbund ist nicht verfügbar.** Starte einen Secret Service (zum Beispiel
gnome-keyring) und entsperre ihn; `kc doctor` sagt, welcher Teil fehlt.
- **Meldungen in der falschen Sprache.** Setze `KC_LANG` (siehe Sprachen unten).
Expand Down
5 changes: 4 additions & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ trabajo pendiente o bloqueado. Consulta los [límites de seguridad](docs/SECURIT
en la sesión SSH (pide la contraseña de inicio de sesión del Mac).
- **Windows: `no Credential Manager logon session`.** El Administrador de credenciales
no existe en una sesión SSH iniciada con una clave. Ejecuta kc desde una
sesión de escritorio o conéctate por SSH con una contraseña.
sesión de escritorio o desde un proceso iniciado con tu contraseña de Windows
(por ejemplo, `Start-Process -Credential` en PowerShell), que obtiene una sesión de
inicio completa. Conectarse por SSH con contraseña no es una solución fiable: Windows
puede rechazarla en una cuenta Microsoft aunque la contraseña sea correcta.
- **Linux: el llavero no está disponible.** Inicia un Secret Service (por ejemplo
gnome-keyring) y desbloquéalo; `kc doctor` indica qué parte falta.
- **Mensajes en el idioma equivocado.** Define `KC_LANG` (consulta Idiomas más abajo).
Expand Down
5 changes: 4 additions & 1 deletion README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ signale du travail en attente ou bloqué. Voir les [limites de sécurité](docs/
dans la session SSH (il demande le mot de passe de session du Mac).
- **Windows : `no Credential Manager logon session`.** Le Gestionnaire d'identification
n'existe pas dans une session SSH ouverte avec une clé. Lancez kc depuis une
session de bureau, ou connectez-vous en SSH avec un mot de passe.
session de bureau, ou depuis un processus démarré avec votre mot de passe Windows
(par exemple `Start-Process -Credential` dans PowerShell), qui obtient une session
de connexion complète. Se connecter en SSH avec un mot de passe n'est pas une solution
fiable : Windows peut le refuser pour un compte Microsoft même si le mot de passe est bon.
- **Linux : le trousseau n'est pas disponible.** Démarrez un Secret Service (par exemple
gnome-keyring) et déverrouillez-le ; `kc doctor` indique ce qui manque.
- **Messages dans la mauvaise langue.** Définissez `KC_LANG` (voir Langues ci-dessous).
Expand Down
5 changes: 4 additions & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ $ kc sync status # 値ではなく状態とこのデバイスの値
(Mac のログインパスワードを求められます)。
- **Windows: `no Credential Manager logon session`。** 鍵でログインした SSH
セッションには資格情報マネージャーがありません。デスクトップセッションから
kc を実行するか、パスワードで SSH 接続してください。
kc を実行するか、Windows のパスワードで起動したプロセス (たとえば PowerShell の
`Start-Process -Credential`) から実行してください。このプロセスは完全なログオン
セッションを持ちます。パスワードで SSH 接続する方法は確実ではありません。
Microsoft アカウントでは、パスワードが正しくても Windows が拒否することがあります。
- **Linux: キーチェーンが使えない。** Secret Service (gnome-keyring など) を起動して
ロックを解除してください。何が足りないかは `kc doctor` が示します。
- **メッセージが意図しない言語で表示される。** `KC_LANG` を設定してください (下の「言語」を参照)。
Expand Down
7 changes: 5 additions & 2 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,11 @@ $ kc sync status # 값 대신 상태와 이 기기의 값 지문 표
`security unlock-keychain ~/Library/Keychains/login.keychain-db` 를 실행하세요(맥 로그인
암호를 묻습니다).
- **Windows 에서 `no Credential Manager logon session` 이 나올 때.** SSH 키로
로그인한 세션에는 자격 증명 관리자가 없습니다. 데스크톱 세션에서 실행하거나
비밀번호로 SSH 접속하세요.
로그인한 세션에는 자격 증명 관리자가 없습니다. 데스크톱 세션에서 실행하거나,
Windows 비밀번호로 시작한 프로세스(예: PowerShell 의 `Start-Process -Credential`)
에서 실행하세요. 이 프로세스는 완전한 로그온 세션을 받습니다. SSH 를 비밀번호로
접속하는 방법은 확실하지 않습니다. Microsoft 계정이면 비밀번호가 맞아도 Windows 가
거부할 수 있습니다.
- **Linux 에서 키체인을 쓸 수 없을 때.** gnome-keyring 같은 Secret Service 를
실행하고 잠금을 푸세요. 무엇이 빠졌는지는 `kc doctor` 가 알려 줍니다.
- **메시지가 원하지 않는 언어로 나올 때.** `KC_LANG` 을 지정하세요(아래 언어
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ work remains. See [the security limits](docs/SECURITY.md).
session (it asks for the Mac's login password).
- **Windows: `no Credential Manager logon session`.** Credential Manager
doesn't exist in an SSH session that logged in with a key. Run kc from a
desktop session, or connect over SSH with a password.
desktop session, or from a process started with your Windows password (for
example PowerShell's `Start-Process -Credential`), which gets a full logon
session. Logging in to SSH with a password instead isn't a reliable fix:
Windows can refuse it for a Microsoft account even when the password is right.
- **Linux: the keychain is unavailable.** Start a Secret Service (for example
gnome-keyring) and unlock it; `kc doctor` says which part is missing.
- **Messages in the wrong language.** Set `KC_LANG` (see Languages below).
Expand Down
4 changes: 3 additions & 1 deletion README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ Touch ID(或系统密码)、Windows Hello 或 polkit 在本机确认。加
因此无法显示钥匙串提示。请在 Mac 本机的终端中运行 kc,或先在 SSH 会话中运行
`security unlock-keychain ~/Library/Keychains/login.keychain-db`(它会要求输入 Mac 的登录密码)。
- **Windows:`no Credential Manager logon session`。** 用密钥登录的 SSH 会话中
没有凭据管理器。请在桌面会话中运行 kc,或用密码通过 SSH 连接。
没有凭据管理器。请在桌面会话中运行 kc,或在用 Windows 密码启动的进程中运行
(例如 PowerShell 的 `Start-Process -Credential`),这样的进程有完整的登录会话。
改用密码登录 SSH 并不可靠:对于 Microsoft 账户,即使密码正确,Windows 也可能拒绝。
- **Linux:钥匙串不可用。** 启动 Secret Service(例如 gnome-keyring)并解锁;
`kc doctor` 会指出缺少哪一部分。
- **消息语言不对。** 设置 `KC_LANG`(见下方"语言")。当 stdout 和 stderr
Expand Down
4 changes: 3 additions & 1 deletion README.zh-Hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ Touch ID(或系統密碼)、Windows Hello 或 polkit 在本機確認。加
因此無法顯示鑰匙圈提示。請在 Mac 本機的終端機中執行 kc,或先在 SSH 工作階段中執行
`security unlock-keychain ~/Library/Keychains/login.keychain-db`(它會要求輸入 Mac 的登入密碼)。
- **Windows:`no Credential Manager logon session`。** 以金鑰登入的 SSH 工作階段中
沒有認證管理員。請在桌面工作階段中執行 kc,或以密碼透過 SSH 連線。
沒有認證管理員。請在桌面工作階段中執行 kc,或在以 Windows 密碼啟動的處理程序中執行
(例如 PowerShell 的 `Start-Process -Credential`),這樣的處理程序有完整的登入工作階段。
改以密碼登入 SSH 並不可靠:對於 Microsoft 帳戶,即使密碼正確,Windows 也可能拒絕。
- **Linux:鑰匙圈無法使用。** 啟動 Secret Service(例如 gnome-keyring)並解鎖;
`kc doctor` 會指出缺少哪個部分。
- **訊息語言不對。** 設定 `KC_LANG`(見下方「語言」)。當 stdout 與 stderr
Expand Down
3 changes: 2 additions & 1 deletion crates/kc-store/src/backend/keyring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ mod sys {
pub(super) const TIMEOUT_HINT: &str = "Windows Credential Manager did not answer; try again";
const NO_SESSION_HINT: &str = "Credential Manager isn't available in this logon session \
(ERROR_NO_SUCH_LOGON_SESSION, typical for OpenSSH key authentication). Run kc from an \
interactive desktop session, or connect over SSH with password authentication";
interactive desktop session, or from a process started with your Windows password \
(for example PowerShell's Start-Process -Credential)";
const ACCESS_DENIED_HINT: &str = "Windows refused access to the credential. Run kc as the \
user who owns it, outside any sandbox or policy that restricts Credential Manager";
/// ERROR_ACCESS_DENIED
Expand Down
Loading