[PR #113] [MERGED] Add auth protection for ssh key export (Android) #1594

Closed
opened 2026-10-13 20:45:43 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/113
Author: @outspace
Created: 9/19/2022
Status: ✅ Merged
Merged: 9/22/2022
Merged by: @pokamest

Base: dev ← Head: dev


📝 Commits (1)

  • d93be76 Add auth protection for ssh key export

📊 Changes

3 files changed (+88 additions, -0 deletions)

View changed files

➕ client/android/src/org/amnezia/vpn/AuthHelper.java (+24 -0)
📝 client/ui/pages_logic/ServerSettingsLogic.cpp (+39 -0)
📝 client/ui/pages_logic/ServerSettingsLogic.h (+25 -0)

📄 Description

We use a builtin keyguard for ssh key export protection on Android.

This protection works only if some protection is set on the phone.

https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure()


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/113 **Author:** [@outspace](https://github.com/outspace) **Created:** 9/19/2022 **Status:** ✅ Merged **Merged:** 9/22/2022 **Merged by:** [@pokamest](https://github.com/pokamest) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`d93be76`](https://github.com/amnezia-vpn/amnezia-client/commit/d93be76505b5ae2d7d1aefa90f40829066dc27a3) Add auth protection for ssh key export ### 📊 Changes **3 files changed** (+88 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `client/android/src/org/amnezia/vpn/AuthHelper.java` (+24 -0) 📝 `client/ui/pages_logic/ServerSettingsLogic.cpp` (+39 -0) 📝 `client/ui/pages_logic/ServerSettingsLogic.h` (+25 -0) </details> ### 📄 Description We use a builtin keyguard for ssh key export protection on Android. This protection works only if some protection is set on the phone. https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure() --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 20:45:43 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1594
No description provided.