Compare commits
84 Commits
feature/im
...
v1.12-r5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
313adb6c3e | ||
![]() |
668ba4cdee | ||
![]() |
a36bfa7ff5 | ||
![]() |
26c37bcd2a | ||
![]() |
1980f05a7c | ||
![]() |
dbf10ba9fb | ||
![]() |
4be18d8373 | ||
![]() |
831b290d81 | ||
![]() |
9d4c15f7bc | ||
![]() |
4c4afa792d | ||
![]() |
8e256ac94d | ||
![]() |
65ff09f866 | ||
![]() |
8e9c2824cf | ||
![]() |
92b8ff5c8d | ||
![]() |
223c3bfb8e | ||
![]() |
b4e03a8374 | ||
![]() |
fb2df35d37 | ||
![]() |
345dad5d04 | ||
![]() |
50d6598b02 | ||
![]() |
90f04b76f4 | ||
![]() |
8b4314c394 | ||
![]() |
17241bc422 | ||
![]() |
c4a73bf107 | ||
![]() |
e76f3999b6 | ||
![]() |
0567bfe645 | ||
![]() |
6043bdbc48 | ||
![]() |
4ba40ba24f | ||
![]() |
e2711b709d | ||
![]() |
4764b15e75 | ||
![]() |
1b389ef12e | ||
![]() |
b32c2dbc7e | ||
![]() |
f06937dab3 | ||
![]() |
14efce62ff | ||
![]() |
3c8b530e2e | ||
![]() |
9939e07b7d | ||
![]() |
ecf416febc | ||
![]() |
f949e6e389 | ||
![]() |
15bf08f5e6 | ||
![]() |
fa69f38ab1 | ||
![]() |
d3b06080eb | ||
![]() |
749ab330ff | ||
![]() |
677c6555e8 | ||
![]() |
c62f6ef139 | ||
![]() |
0c34625782 | ||
![]() |
e86fa6f9fa | ||
![]() |
e2e975f357 | ||
![]() |
8eaf6d3f88 | ||
![]() |
1cb036941e | ||
![]() |
a53ff37e89 | ||
![]() |
dc3ee35c8b | ||
![]() |
e05fe94650 | ||
![]() |
b0cb0b06a2 | ||
![]() |
a9fed1c203 | ||
![]() |
6d8407676d | ||
![]() |
1157716c9c | ||
![]() |
861615b7a4 | ||
![]() |
e12d11264e | ||
![]() |
6d7b4810da | ||
![]() |
585b747612 | ||
![]() |
55887e1a89 | ||
![]() |
39a7a1298a | ||
![]() |
90059c5ae6 | ||
![]() |
ad63179484 | ||
![]() |
6eaba9d3a8 | ||
![]() |
11ce68902c | ||
![]() |
70ca059e0f | ||
![]() |
6588f40007 | ||
![]() |
67aaba0656 | ||
![]() |
2d8eac4f12 | ||
![]() |
5cf15b26b9 | ||
![]() |
07f08a8851 | ||
![]() |
d2e0ae6394 | ||
![]() |
cbae7c38cf | ||
![]() |
15656109bc | ||
![]() |
93e415120a | ||
![]() |
c47e7c03f9 | ||
![]() |
125512d2c3 | ||
![]() |
65b0d31762 | ||
![]() |
9103529b64 | ||
![]() |
349952cb52 | ||
![]() |
305cf6b050 | ||
![]() |
78ff49a6d4 | ||
![]() |
25232a4146 | ||
![]() |
5266d2f985 |
1
Makefile
@@ -20,6 +20,7 @@
|
||||
# - nuget: restore NuGet packages
|
||||
# - msbuild: build the project
|
||||
# - apk: same as all
|
||||
# - manifestlink: creates a symlink (to be used in building) to the AndroidManifest corresponding to the selected Flavor
|
||||
#
|
||||
# - distclean: run a 'git clean -xdff'. Remove everyhing that is not in the git tree.
|
||||
# - clean: all clean_* targets below
|
||||
|
@@ -1,5 +0,0 @@
|
||||
As of December 2017, Google does not accept the use of Accessibility services for anything except helping people with disabilities. This means that Keepass2Android can no longer provide the accessibility service based AutoFill feature. Otherwise, Google would remove Keepass2Android from Play Store.
|
||||
|
||||
If you want to continue using this feature, please [install the Accessibility service based AutoFill plugin](https://github.com/PhilippC/kp2a_accservice_autofill/releases/).
|
||||
|
||||
After installation, please enable the accessibility service "KP2A AutoFillPlugin" in the Android system settings. When trying to use the plugin for the first time, KP2A will ask you if the plugin may access the Keepass database. Please accept this to use the plugin.
|
@@ -1,18 +0,0 @@
|
||||
# Installing dictionaries
|
||||
Keepass2Android will load dictionaries for your current language both from AnySoftKeyboard and from Hacker's keyboard.
|
||||
* For AnySoftKeyboard dictionaries visit: [https://play.google.com/store/search?q=anysoftkeyboard+dictionary&c=apps](https://play.google.com/store/search?q=anysoftkeyboard+dictionary&c=apps)
|
||||
* For Hacker's Keyboard dictionaries visit: [https://play.google.com/store/search?q=hacker%27s%20keyboard%20dictionary&c=apps](https://play.google.com/store/search?q=hacker%27s%20keyboard%20dictionary&c=apps)
|
||||
|
||||
# Automatic keyboard switching (requires ADB)
|
||||
Starting with Keepass2Android 1.02-pre1, you can use the [KeyboardSwap Plugin](https://play.google.com/store/apps/details?id=keepass2android.plugin.keyboardswap2) to switch to the KP2A keyboard automatically instead of bringing up the Input method selection dialog (e.g. after using the Share URL feature). To setup the plugin please follow the instructions on [the PlayStore website](https://play.google.com/store/apps/details?id=keepass2android.plugin.keyboardswap2)
|
||||
|
||||
# Deprecated: Automatic keyboard switching on rooted devices
|
||||
|
||||
In order to automatically switch to the KP2A keyboard and back, you need to
|
||||
* have a rooted device (per Android security policies)
|
||||
* have at least KP2A version 0.9.3-pre2
|
||||
* install the Secure Settings app with the "System+" module available in Secure Settings v. 1.3.4 and above. **Note:** This is no longer available for recent Android versions.
|
||||
* Go to the KP2A keyboard settings. Enable auto-switch on rooted devices.
|
||||
|
||||
If you go to a website, select "Share URL" -> Keepass2Android, the keyboard should be switched as soon as you locate the entry or when it's found automatically.
|
||||
|
@@ -1,239 +0,0 @@
|
||||
# How to build Keepass2Android
|
||||
|
||||
## Overview
|
||||
|
||||
Keepass2Android is a Mono for Android app. This means that you need Xamarin's Mono for Android to build it. However, it also uses several components written in Java, so there are also Android-Studio projects involved. To make things even worse, parts of the keyboard and kdb-library are written in native code.
|
||||
|
||||
To build KP2A from scratch, you need:
|
||||
- Xamarin's Mono for Android (also included in Visual Studio)
|
||||
- Android SDK & NDK
|
||||
|
||||
Prior to building Keepass2Android, you need to build some of its components (from command line). Then you can build the full project either through Visual Studio, or through command line.
|
||||
|
||||
By using the command line, you can build on Windows, macOS or Linux.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
### Common to all architectures
|
||||
- Install Android SDK & NDK (either manually with Google's [sdkmanager](https://developer.android.com/studio/command-line/sdkmanager), or through Android Studio). Visual Studio also installs a version of it, but in the end the directory must be writable and in a path without spaces (see below) so as to be able to build the components.
|
||||
- Fetch the main repository of Keepass2Android and all submodules
|
||||
- Note that VisualStudio can do this for you, otherwise run:
|
||||
- `git submodule init && git submodule update`
|
||||
|
||||
### On Windows or macOS
|
||||
- Install Visual Studio (for example 2019) with Xamarin.Android (ie. with capability to build Android apps). This should provide the needed tools like
|
||||
- Xamarin.Android
|
||||
- MSBuild
|
||||
- Java JDK
|
||||
- If you plan to build also from the command line:
|
||||
- Install the MSVC build tools of visual studio. They provide the `vcvarsall.bat` file which among other things adds MSBuild to the PATH.
|
||||
- Install [NuGet](https://www.nuget.org/downloads) to build also with "make". Alternatively, on Windows, if you use [chocolatey](https://chocolatey.org), run as administrator:
|
||||
- `choco install nuget.commandline`
|
||||
- Check that you have access to 'GNU make'.
|
||||
- On Windows, it is usually not available by default. But the Android NDK provides it. You can find it in `%ANDROID_NDK_ROOT%\prebuilt\windows-x86_64\bin\make.exe`. Alternatively, on Windows, if you use [chocolatey](https://chocolatey.org), run as administrator:
|
||||
- `choco install make`
|
||||
- On macOS, it is usually only installed if you have developer command line tools installed or if you use [homebrew](https://brew.sh) or [macports](https://www.macports.org/). As an alternative it may be available in the Android NDK at `%ANDROID_NDK_ROOT%/prebuilt/darwin-x86_64/bin/make`.
|
||||
|
||||
### On Linux
|
||||
- Install Java's JDK
|
||||
- On Debian, for example: `apt install default-jdk-headless`.
|
||||
|
||||
- Install [Mono](https://www.mono-project.com/)
|
||||
- This should provide `msbuild` & `xabuild` binary
|
||||
- On Debian, after having added the repo from above, install with `apt install -t <repo_name> mono-devel msbuild`. A value for `<repo_name>` could be `stable-buster` for example, depending on which one you chose. You could also install the `mono-complete` package if you prefer.
|
||||
|
||||
- Install Xamarin.Android
|
||||
- ~~Option 1: Use the mono-project [CI builds](https://dev.azure.com/xamarin/public/_build/latest?definitionId=48&branchName=main&stageName=Linux)~~ **NOTE:** KP2A now requires Xamarin.Android v13, which is newer than the current CI build; until a more recent CI build is available, this option is unfortunately no longer viable.
|
||||
- Option 2: [Build it from source](https://github.com/xamarin/xamarin-android/blob/master/Documentation/README.md#building-from-source)
|
||||
|
||||
- Install NuGet package of your distribution
|
||||
- On Debian/Ubuntu: `apt install nuget`
|
||||
|
||||
- Install [libzip](https://libzip.org/) for your distribution for some Xamarin.Android versions
|
||||
- This may not be relevant anymore: for example, with Xamarin.Android 11.4.99. this is not needed.
|
||||
- Some versions of Xamarin may require `libzip4`. If you are in this case:
|
||||
- On Debian/Ubuntu, install it with `apt install libzip4`.
|
||||
- Other distributions ship only `libzip5`. As a dirty workaround, it's possible to symlink `libzip.so.5` to `libzip.so.4`. Luckily, it appears to be working. For example:
|
||||
- `sudo ln -s /usr/lib/libzip.so.5 /usr/lib/libzip.so.4`
|
||||
- or `sudo ln -s /usr/lib64/libzip.so.5 /usr/lib/libzip.so.4`
|
||||
|
||||
## Building the required components:
|
||||
|
||||
This is done on the command line and requires the Android SDK & NDK and Java JDK.
|
||||
|
||||
### On Windows
|
||||
- Setup your environment:
|
||||
- Set these environment variables for Android's SDK & NDK
|
||||
- `ANDROID_HOME` (for example `set ANDROID_HOME=C:\PATH\TO\android-sdk`)
|
||||
- `ANDROID_SDK_ROOT` (for example `set ANDROID_SDK_ROOT=C:\PATH\TO\android-sdk`)
|
||||
- `ANDROID_NDK_ROOT` (for example `set ANDROID_NDK_ROOT=C:\PATH\TO\android-sdk\ndk\version`)
|
||||
|
||||
**Note:** Care must be taken when setting the above variables to **not** include a trailing backslash in the path. A trailing backslash may cause `make` to fail.
|
||||
|
||||
**Note**: If the path to the Android SDK contains spaces, you **must** do one of these:
|
||||
- either put the Android SDK into a path without spaces.
|
||||
- or create a symlink to that path which doesn't contain spaces. Attention: this requires **administrator** priveleges. For example:
|
||||
|
||||
```
|
||||
IF NOT EXIST C:\Android ( MKDIR C:\Android ) &&
|
||||
MKLINK /D C:\Android\android-sdk "C:\Program Files (x86)\Android\android-sdk"
|
||||
```
|
||||
This is because [Android NDK doesn't support being installed in a path with spaces](https://github.com/android/ndk/issues/1400).
|
||||
|
||||
**Note**: The Android SDK path will require to be writeable because during the build, some missing components might be downloaded & installed.
|
||||
|
||||
- If you have "GNU make" available on your windows system, you may build by using the Makefile. You can also find a `make` executable in `%ANDROID_NDK_ROOT%\prebuilt\windows-x86_64\bin\make.exe`. To use it, see the instructions for Linux/macOS. Basically, just run `make` or `mingw32-make` depending on which distribution of GNU make for windows you have installed.
|
||||
|
||||
- Otherwise proceed as below:
|
||||
|
||||
1. Build argon2
|
||||
|
||||
```
|
||||
cd src/java/argon2
|
||||
%ANDROID_NDK_ROOT%/ndk-build.cmd
|
||||
```
|
||||
1. Build the other java components
|
||||
|
||||
```
|
||||
cd src/build-scripts
|
||||
build-java.bat
|
||||
```
|
||||
|
||||
`build-java.bat` will call `gradlew` for several Java modules.
|
||||
|
||||
**Notes:**
|
||||
|
||||
- For building the java parts, it is suggested to keep a short name (e.g. "c:\projects\keepass2android") for the root project directory. Otherwise the Windows path length limit might be hit when building.
|
||||
- Before building the java parts, make sure you have set the ANDROID_HOME variable or create a local.properties file inside the directories with a gradlew file. It is recommended to use the same SDK location as that of the Xamarin build.
|
||||
- On some environments, `make` can fail to properly use the detected `MSBUILD` tools. This seems to be due to long pathnames and/or spaces in pathnames. It may be required to explicitly set the `MSBUILD` path using 8.3 "short" path notation:
|
||||
- Determine the location of `MSBUILD` (e.g. `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe`)
|
||||
- [Generate the "short" path](https://superuser.com/a/728792) of that location (e.g.: `C:\PROGRA~1\MICROS~2\2022\COMMUN~1\MSBuild\Current\Bin\MSBuild.exe`)
|
||||
- When running `make` specify the location of ``MSBUILD` explicitly (e.g.: `make MSBUILD="C:\PROGRA~1\MICROS~2\2022\COMMUN~1\MSBuild\Current\Bin\MSBuild.exe`
|
||||
|
||||
|
||||
### On Linux/macOS
|
||||
|
||||
- Setup your environment:
|
||||
- Set these environment variables for Android's SDK & NDK
|
||||
- `ANDROID_HOME` (for example `export ANDROID_HOME=/path/to/android-sdk/`)
|
||||
- `ANDROID_SDK_ROOT` (for example `export ANDROID_SDK_ROOT=/path/to/android-sdk/`)
|
||||
- `ANDROID_NDK_ROOT` (for example `export ANDROID_NDK_ROOT=/path/to/android-sdk/ndk/version`)
|
||||
|
||||
- Update your PATH environment variable so that it can access `nuget`, `msbuild` or `xabuild` (for linux):
|
||||
- On Linux:
|
||||
- add `xabuild` to your path: `export PATH=/path/to/xamarin.android-oss/bin/Release/bin/:$PATH`
|
||||
- On macOS:
|
||||
- you may similarly need to add `msbuild` & `nuget` to your PATH.
|
||||
|
||||
- Start the build:
|
||||
- This will use the Makefile at the root of the project (requires GNU make). To build everything (components & Keepass2Android APK) in a single command simply run:
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
- Otherwise, if you prefer to do step by step
|
||||
|
||||
1. Build argon2
|
||||
|
||||
```
|
||||
make native
|
||||
```
|
||||
|
||||
1. Build the other java components
|
||||
|
||||
```
|
||||
make java
|
||||
```
|
||||
|
||||
## Building Keepass2Android:
|
||||
|
||||
These are the basic steps to build Keepass2Android. You can also build Keepass2Android Offline. For this, configure the build by using the [Flavors](#Flavors).
|
||||
|
||||
### With Visual Studio
|
||||
|
||||
- On windows or on macOS open the src/KeePass.sln file with visual studio, and choose to build the project named 'keepass2android-app'
|
||||
|
||||
### Command Line
|
||||
|
||||
#### Windows, Macos & Linux
|
||||
to build the APK, simply run:
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
or to skip building the APK:
|
||||
|
||||
```
|
||||
make msbuild
|
||||
```
|
||||
|
||||
## Where is the APK ?
|
||||
The Apk can be installed on a device.
|
||||
It is located in `src/keepass2android/bin/*/*-Signed.apk`
|
||||
|
||||
If you build with Visual Studio, the APK is not produced automatically. You need to perform some extra step. See the documentation of Visual Studio on how to proceed.
|
||||
|
||||
## Flavors
|
||||
|
||||
Keepass2Android is distributed in two flavors.
|
||||
- Keepass2Android (aka `net`)
|
||||
- Keepass2Android Offline (aka `nonet`)
|
||||
|
||||
The flavor is set through a MSBuild Property named "`Flavor`". The possible values are '`Net`' and '`NoNet`'.
|
||||
|
||||
The value of the Flavor property is used in 2 projects:
|
||||
- `keepass2android-app` (in `src/keepass2android`)
|
||||
- `Kp2aBusinessLogic` (in `src/keepass2android`)
|
||||
|
||||
Its value is set inside the `*.csproj` file (XML format) of each project in the `Project`/`PropertyGroup`/`Flavor` node.
|
||||
By default its value is set to an empty string so that development is made with `AndroidManifest_debug.xml` on the '`net`' flavor.
|
||||
|
||||
This is the behaviour of the build system depending on the value of Flavor:
|
||||
| Flavor | What is built | `AndroidManifest.xml` used |
|
||||
| ----- | ----- | ----- |
|
||||
| `` (empty string): This is the default value. | Keepass2Android | `AndroidManifest_debug.xml` |
|
||||
| `Net` | Keepass2Android | `AndroidManifest_net.xml` |
|
||||
| `NoNet` | Keepass2Android Offline | `AndroidManifest_nonet.xml` |
|
||||
|
||||
### Select/Change flavor:
|
||||
|
||||
When building, by default, the flavor is not set. So the value used is the value of the Flavor property in *.csproj file. This should result on doing a build of the 'net' flavor.
|
||||
|
||||
You can force the Flavor by setting the Flavor property.
|
||||
|
||||
Proceed this way:
|
||||
|
||||
#### Command line
|
||||
|
||||
##### Windows, Macos & Linux
|
||||
|
||||
To force building 'net' with `make`, run:
|
||||
|
||||
```
|
||||
make Flavor=Net
|
||||
```
|
||||
|
||||
To build 'nonet' with `make`, run:
|
||||
|
||||
```
|
||||
make Flavor=NoNet
|
||||
```
|
||||
|
||||
##### MSBuild
|
||||
|
||||
To build with MSBuild directly on the command line, set the flavor with `-p:Flavor=value` argument. For example:
|
||||
|
||||
```
|
||||
MSBuild src/KeePass.sln ... -p:Flavor=NoNet
|
||||
```
|
||||
|
||||
#### Visual Studio
|
||||
When building with Visual Studio, edit the `*.csproj` file (XML format) and set the value in the `Project`/`PropertyGroup`/`Flavor` node. This is needed only for the projects that use the flavors.
|
||||
|
||||
**Note:** When switching between flavors, be sure to clean the previous build before.
|
||||
|
||||
## Makefile
|
||||
|
||||
It is possible to override the project's default 'Flavor' (Net, NoNet) and 'Configuration' (Release, Debug) by passing it as argument to `make`. See the header of the Makefile to see what can be done.
|
@@ -1,118 +0,0 @@
|
||||
<div class="wikidoc">
|
||||
<h1>Comparison of Keepass apps for Android</h1>
|
||||
<p>This page was created to give you a short overview of the features of Keepass2Android vs. Keepass2Android Offline. As Keepass2Android is based on Keepassdroid (by Brian Pellin), there are quite a few similarities here, as well, so we added Keepass2Android
|
||||
vs. Keepassdroid comparison as well. "Better" properties are highlighted in bold. The page was created in 12/2013. If any information is out of date, please leave a note in the comments section.</p>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th>
|
||||
<h3>Keepass2Android</h3>
|
||||
</th>
|
||||
<th>
|
||||
<h3>Keepass2Android Offline</h3>
|
||||
</th>
|
||||
<th>
|
||||
<h3>Keepassdroid</h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Play Store link</strong></td>
|
||||
<td><a href="https://play.google.com/store/apps/details?id=keepass2android.keepass2android">https://play.google.com/store/apps/details?id=keepass2android.keepass2android</a></td>
|
||||
<td><a href="https://play.google.com/store/apps/details?id=keepass2android.keepass2android_nonet">https://play.google.com/store/apps/details?id=keepass2android.keepass2android_nonet</a></td>
|
||||
<td><a href="https://play.google.com/store/apps/details?id=com.android.keepass">https://play.google.com/store/apps/details?id=com.android.keepass</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Technology</strong></td>
|
||||
<td>Mono for Android, Java</td>
|
||||
<td>Mono for Android, Java</td>
|
||||
<td>Java</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Keepass 2.x (kdbx) support</strong></td>
|
||||
<td><strong>write and read</strong></td>
|
||||
<td><strong>write and read</strong></td>
|
||||
<td>read (write in beta)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Keepass 2.x feature support</strong></td>
|
||||
<td><strong>Viewing and editing of tags, attachments, additional fields, TAN support</strong></td>
|
||||
<td><strong>Viewing and editing of tags, attachments, additional fields, TAN support</strong></td>
|
||||
<td>Edit standard fields only, no display/edit of attachments</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Keepass 1.x (kdb) support</strong></td>
|
||||
<td>currently read-only</td>
|
||||
<td>currently read-only</td>
|
||||
<td><strong>yes</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Storage locations</strong></td>
|
||||
<td>SD Card,<strong> Cloud (Dropbox, Google Drive, OneDrive), Web (FTP/HTTP/HTTPS/WebDav), SFTP</strong></td>
|
||||
<td>SD Card</td>
|
||||
<td>SD Card</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>File choosers</strong></td>
|
||||
<td><strong>Internal or third party</strong></td>
|
||||
<td><strong>Internal or third party</strong></td>
|
||||
<td>Third party</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Required permissions</strong></td>
|
||||
<td>Internet, SD card, Manage accounts</td>
|
||||
<td><strong>SD card</strong></td>
|
||||
<td><strong>SD card</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Android 4.x style</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Database locking</strong></td>
|
||||
<td><strong>QuickUnlock</strong> or full lock</td>
|
||||
<td><strong>QuickUnlock</strong> or full lock</td>
|
||||
<td>Full lock only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Browser integration</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Secure keyboard</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Database unlocking</strong></td>
|
||||
<td><strong>password, keyfile, One-Time-Passwords (supports Yubikey NEO with NFC), KeeChallenge</strong></td>
|
||||
<td><strong>password, keyfile, One-Time-Passwords (supports Yubikey NEO with NFC), KeeChallenge</strong></td>
|
||||
<td>password, keyfile</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Keepass plugin compatibility</strong></td>
|
||||
<td><strong>Twofish Cipher, KeeChallenge, TrayTOTP, KeeOTP</strong></td>
|
||||
<td><strong>Twofish Cipher, KeeChallenge, TrayTOTP, KeeOTP</strong></td>
|
||||
<td>Twofish Cipher</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Extensible with plugins</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Database export</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td><strong>yes</strong></td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
</div><div class="ClearBoth"></div>
|
@@ -1,125 +1 @@
|
||||
**Note:** This is an incomplete and preliminary documentation. More documentation will be added as requests come in or when the app is more feature stable.
|
||||
If you want, I'd be happy if you contribute texts for this place!
|
||||
|
||||
If you think something is missing in the documentation, please create an issue at https://github.com/PhilippC/keepass2android/issues
|
||||
|
||||
# What you should know and think about
|
||||
If you store important information using Keepass2Android, you should know a little bit about what's going on:
|
||||
* Keepass2Android stores your password in an encrypted file. It is *your responsibility* to backup this file regularly and safely.
|
||||
* There is no way for anyone, including the app's author, to access the information stored in your password database without
|
||||
* having the database file
|
||||
* knowing the master password (and additional second factor if you chose one)
|
||||
This means that **if you forget the master password, your database is lost**! So make sure you remember the password and retain any second factor method (if one is used).
|
||||
* You might also want to think about:
|
||||
* What happens if I have an accident? Should any trusted person be able to access my database?
|
||||
* What happens if my phone gets lost or stolen? Do I know how to recover my database from a backup or the cloud?
|
||||
|
||||
|
||||
# Getting started
|
||||
|
||||
## Opening an existing database
|
||||
Many users are already using Keepass 2 on Windows and thus have their passwords stored in a Keepass database, typically a file with ending .kdbx. For opening such an existing database, there are two main options:
|
||||
* You can open the file directly if it is located on a webserver or in the cloud. Use "Open Database" on the startscreen. By default, files from the cloud or servers are cached in the application's cache directory after loading them once. This allows to access your files even when you're offline.
|
||||
* If you don't have your database stored on a webserver or in the cloud (or if you're using KP2A Offline) you need to copy your kdbx-Database to your phone. I suggest to use a sync tool like FolderSync. Such a tool copies your database to your local storage, so you always have it accessible. FolderSync can access your database if you have it on a network share or use any other common storage.
|
||||
|
||||
## Creating a new database
|
||||
Select "Create new database" from the start screen. Tap the integrated help icons for more information. Note that by default, the database is created as a local file. Please consider making backups regularly or select a location in the cloud.
|
||||
|
||||
## Getting passwords into password fields
|
||||
There are many ways how to enter the passwords from your database in the corresponding fields. By default, the clipboard as well as the KP2A keyboard are activated in the settings:
|
||||
* The KP2A keyboard is the recommended way because it's safe against clipboard loggers: Whenever you select an entry, the KP2A keyboard notification will appear in the notification bar. Click it to activate the keyboard. (The first time you do this, you are required to enable the keyboard in the system settings. This must be done by the user for Android security reasons.) As soon as it's activated, you can tap a field where you want to enter data from the selected entry. The KP2A keyboard will come up. Click the KP2A key (on the bottom left) to select whether you want to enter Username/password etc. When you're done, click the Keyboard key (next to the KP2A key) to switch back to your favorite keyboard.
|
||||
* You can enable the Keepass2Android Autofill service in the system's Autofill settings (Android 8+) which allows to fill data using Android's accessibility system. This works with many apps including Firefox browser but is not supported for Chrome (when writing this).
|
||||
* The clipboard based approach can be used as well: Pull the notification bar down and select "Copy username/password to clipboard". Then long-tap the field where you want to paste the data. A small "paste" button should come up. Note, however, that information in the clipboard can be monitored by all apps on your device and clearing the clipboard is not always possible.
|
||||
|
||||
These options can be used in different workflows:
|
||||
### Browser-based workflow
|
||||
If you are browsing the web and need to enter crendentials for a webpage, a simple and powerful workflow is to use the "Share URL" option from the browser's menu. Then select Keepass2Android (or KP2A Offline). Open your database (if it's not already opened) and select the entry you want to enter (if KP2A did not already select the appropriate entry). Use the built-in keyboard or the clipboard to enter the password.
|
||||
### Autofill service based workflow
|
||||
If you have enabled the autofill service and open a (supported) app with a password field, a dropdown appears. Select "Fill with Keepass2Android" to select the appropriate entry. When you return to the app, the password and user field should be filled already.
|
||||
### KP2A based workflow for websites
|
||||
Open KP2A, open your database, select your entry (in this step, the notification bar items should show up already). Now click the URL link of the entry to open a browser window with the website. Use one of the methods described above to enter the credentials.
|
||||
### KP2A Keyboard based workflow
|
||||
When you are in a text field, you can use the Android icon in the notification bar to switch to the KP2A keyboard. Hit the KP2A key to select an icon. After it's selected, hit the KP2A key again to enter the desired field.
|
||||
|
||||
## Creating a new account
|
||||
Assume you want to create an account on a website. If you do not have a database yet, see above. As soon as you have a database, you may proceed as follows:
|
||||
* Go to the website you want to create the account for
|
||||
* Select Share/Share URL from the browser's menu and tap "Keepass2Android"
|
||||
* Log in to your database (if it's not already unlocked)
|
||||
* You will see the search result screen with "No search results"
|
||||
* Tap "Create entry for URL"
|
||||
* Choose the desired group, then tap the "+"-button to add an entry.
|
||||
* Tap the "..." button next to the password field to launch the password generator, create your password and then select "Accept"
|
||||
* Enter a name for the entry
|
||||
* Enter the username you want to use for the entry
|
||||
* Tap "Save" on the top
|
||||
* You should see notifications like "Entry is available through KP2A keyboard" and/or "Copy username/password to clipboard". If not, view the new entry by clicking it.
|
||||
* Return back to the browser.
|
||||
* Use the notifications to enter your new credentials. See "Getting passwords into the password fields" for more details.
|
||||
* If the user name you entered is not available or valid, choose a different one but copy it to clipboard. After creating the account, don't forget to update the new entry.
|
||||
|
||||
# Keepass2Android vs Keepass2Android Offline vs Keepassdroid
|
||||
What's the difference between these apps? There is a short comparison on [Comparison of Keepass apps for Android](Comparison-of-Keepass-apps-for-Android.md) to help you pick the best for you!
|
||||
|
||||
# Advanced topics
|
||||
## YubiKey NEO support for One-Time-Passwords
|
||||
Please see the [How to use Keepass2Android with YubiKey NEO](How-to-use-Keepass2Android-with-YubiKey-NEO.md) page.
|
||||
|
||||
## Advanced usage of the Keepass2Android keyboard
|
||||
Please see the [Advanced usage of the Keepass2Android keyboard](Advanced-usage-of-the-Keepass2Android-keyboard.md) page.
|
||||
|
||||
## Using Keepass2Android like an authenticator app to generate Time-based One-Time-Passwords (TOTPs)
|
||||
Please see [Generating TOTPs with Keepass2Android](Generating-TOTPs.md)
|
||||
|
||||
# FAQ
|
||||
|
||||
## Should I use the KP2A keyboard for entering passwords?
|
||||
The KP2A keyboard is meant to quickly "paste" or "type" values from your database to any text fields by using the KP2A icon. The QUERTY keyboard is just for convenience (if you just have the KP2A keyboard activated and need to enter a few letters). However, every other (trustworthy) keyboard is ok as well to enter sensitive information: Keyboard's aren't unsafe in Android. Only the clipboard is. Thus, the KP2A keyboard allows to get information out of the database without using the clipboard.
|
||||
**You can use any keyboard when you enter the main database password**
|
||||
|
||||
## Is it safe to store my kdbx file in the cloud?
|
||||
While it may happen that someone gets access to your kdbx file in the cloud, there is still no need to worry: the purpose of encryption is to protect the data even in case someone gets the kdbx file! As long as you are using a safe master key, you're safe! [Key files](https://keepass.info/help/base/keys.html#keyfiles) can help with securing the database even more.
|
||||
|
||||
## Doesn't Keepass2Android create automatic backups?
|
||||
Yes and no. Yes: Keepass2Android stores the last successfully opened file as a read-only backup locally on the phone (unless you disable this is in the settings). This should make sure that even if the file gets destroyed during a save operation or gets deleted by accident, you should always have a version that can be opened. (Don't mix this up with the internal file cache which is not meant as a backup and can easily be overwritten even with a corrupt file. This internal file cache is meant for providing writable access even when the original file is not reachable, e.g. when you're offline.)
|
||||
No: The local backup has two shortcomings: It is only one backup and does not allow to revert to older versions. So if you deleted an entry from the database, it might be deleted in the local backup soon as well. The even more important shortcoming is that it is just a local backup. It won't help when your phone gets lost or broken. Please create additional backups on seperate storage!
|
||||
|
||||
## How do I backup the database?
|
||||
If you have stored your database on the cloud, you might rely on your cloud storage providers backups. Make sure they allow you to revert to older revisions in case the file gets corrupted for some reason.
|
||||
If you are working with a local database file, make sure you create regular backups. I suggest you have an aumotated mechanism, e.g. with FolderSync (Lite) which can copy local files from your device to other locations, e.g. your PC in a local network. You can also use USB or tools like MyPhoneExploror to transfer data to your PC. Or, you use a removable storage like an SD card which you keep in a safe place after making the backup.
|
||||
In all cases, you need to verify that your backup is readable! It's even best to test this on another device (e.g. a PC), so you simulate the case that you may lose your phone.
|
||||
|
||||
## I can open my database with fingerprint, but don't remember my master password!
|
||||
It's time for action! As soon as possible, select Settings - Database - Export and choose unencrypted XML (don't put this on the cloud but on a local file). Transfer this file to a PC and import it to a new kdbx file, e.g. with Keepass2. Choose a new master password and make sure you don't forget this password!
|
||||
|
||||
## How can I transfer data from one device to another?
|
||||
* If you are about to get a new Android device, you should make sure you're not losing your passwords in the transition! The first thing you need to make sure is that you can access your .kdbx file (which stores the passwords) on the new device. If it is already stored in the cloud, you only need to make sure you know how to setup the cloud storage on the new device (it might require a password, so make sure you have access to that!).
|
||||
* If the .kdbx-file is stored locally on the old device, make sure you have an up-to-date backup (see above). You can then transfer that backup copy to the new device. (Note: transferring via USB causes data corruption in some cases, use MyPhoneExplorer or similar tools to be sure this does not happen.)
|
||||
* If you are securing your password database with a keyfile, also transfer this key file to the new device.
|
||||
* If you are opening your database with a fingerprint, make sure you also know the master password because fingerprint will not be available immediately on the new device.
|
||||
|
||||
## Why is Keepass2Android's apk so big?
|
||||
Please see [Keepass2Android Apk](Keepass2Android-Apk.md) for more information.
|
||||
|
||||
## I get a message "File is trashed" when reading or writing a file on Google Drive
|
||||
This happens because ocaml-fuse (I guess you are on Linux and use that) moves files to trash and then creates a new one instead of correctly updating the file on Google Drive (each file has a unique ID which Keepass2Android uses). Fortunately, this was fixed: https://github.com/astrada/google-drive-ocamlfuse/issues/494. After activating this option, please select "Change database" in KP2A, tap ,"Open file" and browse to the file on Google Drive again. After that, the message should no longer pop up.
|
||||
|
||||
## I get a message "The name must not be empty: null" when opening from Google Drive
|
||||
Please follow these steps:
|
||||
|
||||
* select "Change database" on the password screen, then "Open database" and browse to your file again
|
||||
* go to Android app settings and disable all permissions for the KP2A app. Then try again to open the database file.
|
||||
* reboot the device
|
||||
|
||||
(Before running the following steps, make sure you don't have local changes in your database which have not been synchronized with Google Drive (this can happen if you worked offline). If you have, please open the database from the local cache and go to settings - database settings - export database and make a backup copy of the data.)
|
||||
|
||||
* clear KP2A's app cache in the Android settings
|
||||
* uninstall & reinstall
|
||||
|
||||
One of these has helped all users so far, but unfortunately it's not totally clear to me why different steps are required (or nothing for most users).
|
||||
|
||||
# For developers
|
||||
If you are interested in adding new features, you have two options:
|
||||
Either your features can be implemented as a plug-in. Please see [How to create a plug-in?](How-to-create-a-plug-in_.md) for more information. Or you add the features directly in the source code of the projects and create a pull request.
|
||||
|
||||
If you want to build Keepass2Android, check the [build guide](Build.readme.md).
|
||||
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation)
|
@@ -1,53 +1 @@
|
||||
|
||||
## TOTP in brief
|
||||
TOTP stands for [Time-based One-Time Password algorithm](https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm) which is one of the most common way proposed by websites to do a [two-factor authentication (2FA)](https://en.wikipedia.org/wiki/Multi-factor_authentication).
|
||||
|
||||
On these websites, this option will often be mentioned in the 2FA configuration menu as things like "_use code generated by an application_", "_use [Google] Authenticator app_".
|
||||
|
||||
You're prompted to scan a QR code with the app, which essentially contains a code called "_seed_", usually with a form like "_AZER TYUI OPQS DFGH JKLM_", used to generate TOTPs. The seed can be also directly copied if there is no scanning option on the app.
|
||||
|
||||
Most common apps:
|
||||
|
||||
- Google Authenticator
|
||||
- Authy
|
||||
- Microsoft Authenticator
|
||||
- FreeOTP
|
||||
- LastPass Authenticator
|
||||
|
||||
## TOTP in KeePass and benefits
|
||||
In KeePass (by Dominik Reichl) there is are several ways to enable this Authenticator app ability:
|
||||
|
||||
- built-in TOTP support: https://keepass.info/help/base/placeholders.html#otp
|
||||
- [KeePassOTP plugin](https://keepass.info/plugins.html#kpotp)
|
||||
- [KeeOtp plugin](https://keepass.info/plugins.html#keeotp)
|
||||
- [KeeTrayTOTP plugin](https://keepass.info/plugins.html#keetraytotp) (note the name "_TrayTOTP_" on this one for later)
|
||||
|
||||
KeePassXC also supports TOTP: https://keepassxc.org/docs/KeePassXC_UserGuide#_adding_totp_to_an_entry
|
||||
|
||||
The greatest benefits are:
|
||||
|
||||
- the seed stays available contrary to the above apps (for which it's more or less hard to backup/restore/switch with another app)
|
||||
- TOTPs are available wherever the KeePass database is available. But conceptually it's not really 2FA anymore (all things are stored in the same place).
|
||||
|
||||
The different implementations use different ways of storing the TOTP seed (or secret, or key) and optional settings (e.g. the length of the TOTP to generate) within an entry inside the kdbx database. Keepass2Android attempts to be able to read the different formats, but can only write one:
|
||||
|
||||
## TOTP in Keepass2Android
|
||||
|
||||
If you use any of the tools mentioned above, you can set up TOTP entries with them. Keepass2Android can read those entries and generate TOTPs if any of the following styles are used:
|
||||
|
||||
* Keepass2 style: used when there are TimeOtp-Secret(-XXX) fields in the entry
|
||||
* KeeOtpPlugin style: used when there is an otp field containing a query string in the form of key=abc&step=X&size=Y (step and size are optional)
|
||||
* KeeWebOtp/Key Uri Format style: used when entry contains a URL starting with otpauth://totp/, e.g. otpauth://totp/?secret=abc (https://github.com/google/google-authenticator/wiki/Key-Uri-Format)
|
||||
* KeeTrayTotp style:
|
||||
* requires a non-empty seed field (default key is "TOTP seed", can be changed in KP2A settings), value is base32 encoded data
|
||||
* requires a non-empty settings field (default key is "TOTP Settings", can be changed as well), value is expected to be a csv-separated array with [Duration];Length(;TimeCorrectionURL). Length is either an integer value or "S" to indicate Steam encoding
|
||||
|
||||
In order to view the generated TOTP code in KP2A, open the corresponding entry. You can then
|
||||
* use a dynamically generated field called "_TOTP_" containing the TOTP or
|
||||
* use the "Copy TOTP" button on the system notification for the selected entry or
|
||||
* switch to the KP2A keyboard and use the TOTP button to insert the TOTP value into the target app or browser
|
||||
|
||||
If you want to configure an entry to contain the TOTP fields, it is suggested to enter edit mode for the entry. Then click the "Configure TOTP" button. You can either enter the data manually or scan a QR code with the information.
|
||||
|
||||
### Spaces in otp field
|
||||
Make sure that the URI doesn't contain spaces, otherwise KeePass2Android will fail to generate TOTPs as a space is an invalid character. If your URIs have spaces, check [this comment](https://github.com/PhilippC/keepass2android/issues/1248#issuecomment-628035961)._
|
||||
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Generating-TOTPs)
|
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 87 KiB |
@@ -1,157 +0,0 @@
|
||||
# How to create a plug-in or connect from your app
|
||||
|
||||
Creating a plug-in for Keepass2Android or enabling your app to query credentials from Keepass2Android is pretty simple. Please follow the steps below to get started. In case you have any questions, please contact me.
|
||||
|
||||
## Preparations
|
||||
First check out the source code and import the Keepass2AndroidPluginSDK from [https://github.com/PhilippC/keepass2android/tree/master/src/java/Keepass2AndroidPluginSDK2](https://github.com/PhilippC/keepass2android/tree/master/src/java/Keepass2AndroidPluginSDK2/) into your workspace. You should be able to build this library project.
|
||||
|
||||
Now add a reference to the PluginSDK library from your existing app or add a new plug-in app and then add the reference.
|
||||
|
||||
## Authorization
|
||||
|
||||
Keepass2Android stores very sensitive user data and therefore implements a plug-in authorization scheme based on broadcasts sent between the plug-in and the host app (=Keepass2Android or Keepass2Android Offline). Before your app/plug-in gets any information from KP2A, the user will have to grant your app/plug-in access to KP2A. As not every app/plug-in requires access to all information, you must specify which scopes are required by your app. The implemented scopes can be found in [https://github.com/PhilippC/keepass2android/tree/master/src/java/Keepass2AndroidPluginSDK2/src/keepass2android/pluginsdk/Strings.java](https://github.com/PhilippC/keepass2android/tree/master/src/java/Keepass2AndroidPluginSDK2/src/keepass2android/pluginsdk/Strings.java).
|
||||
|
||||
To tell Kp2a that you're a plug-in, you need to add a simple BroadcastReceiver like this:
|
||||
|
||||
```java
|
||||
|
||||
public class PluginAAccessReceiver extends keepass2android.pluginsdk.PluginAccessBroadcastReceiver
|
||||
{
|
||||
|
||||
@Override
|
||||
public ArrayList<String> getScopes() {
|
||||
ArrayList<String> scopes = new ArrayList<String>();
|
||||
scopes.add(Strings.SCOPE_DATABASE_ACTIONS);
|
||||
scopes.add(Strings.SCOPE_CURRENT_ENTRY);
|
||||
return scopes;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
Here, you define the method getScopes where the list of scopes is created which must be granted by the user. The actual logic of the authorization process is implemented by the base class in the sdk.
|
||||
|
||||
In order to make this broadcast receiver visible to KP2A, add the following lines (probably with the name adapted to your class name) in the AndroidManifest.xml:
|
||||
|
||||
```xml
|
||||
<receiver android:name="PluginAAccessReceiver" android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="keepass2android.ACTION_TRIGGER_REQUEST_ACCESS" />
|
||||
<action android:name="keepass2android.ACTION_RECEIVE_ACCESS" />
|
||||
<action android:name="keepass2android.ACTION_REVOKE_ACCESS" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
```
|
||||
|
||||
Please also add a few strings in your resource files (e.g. strings.xml) with the following keys:
|
||||
|
||||
```xml
|
||||
<string name="kp2aplugin_title">The Great PluginA</string>
|
||||
<string name="kp2aplugin_shortdesc">Test plugin to demonstrate how plugins work</string>
|
||||
<string name="kp2aplugin_author">[your name here](your-name-here)</string>
|
||||
```
|
||||
These strings will be displayed to the user when KP2A asks if access should be granted.
|
||||
|
||||
## Modifying the entry view
|
||||
You can add menu options for the full entry or for individual fields of the entry when displayed to the user. This is done, for example, by the QR plugin ([https://play.google.com/store/apps/details?id=keepass2android.plugin.qr](https://play.google.com/store/apps/details?id=keepass2android.plugin.qr)).
|
||||
In addition, it is even possible to add new fields or modify existing fields. Please see the sample plugin "PluginA" for a simple example on how to do this:
|
||||
[https://github.com/PhilippC/keepass2android-sampleplugin/blob/main/src/keepass2android/plugina/PluginAAccessReceiver.java](https://github.com/PhilippC/keepass2android-sampleplugin/blob/main/src/keepass2android/plugina/PluginAAccessReceiver.java)
|
||||
|
||||
## Querying credentials
|
||||
KP2A 0.9.4 adds a great opportunity for third party apps: Instead of prompting the user to enter credentials or a passphrase, the app should try to get the data from KP2A if it is installed: If the user grants (or previously granted) access for the app, KP2A will automatically retrieve the matching entry. User action is only required if the KP2A database is locked (user will usually unlock it with the short QuickUnlock code) or if no matching entry is found (user can then create a new entry or select an existing one. in the latter case KP2A will offer to add entry information so that the entry will be found automatically next time).
|
||||
|
||||
To implement this, simply follow the steps descrIbed above in the sections Preparation and Authorization. Then, wherever appropriate in your app, do something like this:
|
||||
|
||||
```java
|
||||
try
|
||||
{
|
||||
PlaceholderFragment.this.startActivityForResult(
|
||||
Kp2aControl.getQueryEntryIntentForOwnPackage(),
|
||||
1);
|
||||
}
|
||||
catch (ActivityNotFoundException e)
|
||||
{
|
||||
Toast.makeText(
|
||||
PlaceholderFragment.this.getActivity(),
|
||||
"no KP2A host app found",
|
||||
Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
(of course you can use `PacketManager` to check if the intent can be started instead of catching the `Exception`).
|
||||
|
||||
Instead of querying credentials associated with your own app, you might want to query other credentials as well. instead of `KpControl.getQueryEntryIntentForOwnPackage()` use
|
||||
`Kp2aControl.getQueryEntryIntent("google.com")`
|
||||
This requires \{"SCOPE_QUERY_CREDENTIALS (whereas getQueryEntryIntentForOwnPackage() requires SCOPE_QUERY_CREDENTIALS_FOR_OWN_PACKAGE)"\}.
|
||||
|
||||
The credential data can be retrieved in onActivityResult():
|
||||
|
||||
```java
|
||||
if ((requestCode == 1) //queryEntry for own package
|
||||
&& (resultCode == RESULT_OK)) // ensure user granted access and selected something
|
||||
{
|
||||
HashMap<String, String> credentials = Kp2aControl.getEntryFieldsFromIntent(data);
|
||||
if (!credentials.isEmpty())
|
||||
{
|
||||
//here we go!
|
||||
Toast.makeText(
|
||||
getActivity(),
|
||||
"retrieved credenitals! Username="+credentials.get(KeepassDefs.UserNameField),
|
||||
Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Note that you get access to all strings (Title, Username, Password, URL, Notes + any user defined strings) in the entry. This may be in intersting in combination with the following section:
|
||||
|
||||
## Storing data in KP2A
|
||||
If you allow the user to set up an account in your app or create a password, e.g. for encryption, please add an option to store this data in the Keepass2Android database, as this will lead to great workflows for the user. It's as simple as
|
||||
|
||||
```java
|
||||
try {
|
||||
HashMap<String, String> fields = new HashMap<String, String>();
|
||||
//standard fields
|
||||
fields.put(KeepassDefs.TitleField, "plugin A");
|
||||
fields.put(KeepassDefs.UserNameField, "John Doe");
|
||||
fields.put(KeepassDefs.PasswordField, "top secret");
|
||||
//associate entry with our app. If we would require the URL field for a web URL,
|
||||
//this string could be added in any other (e.g. a custom) field
|
||||
fields.put(KeepassDefs.UrlField, "androidapp://"+getActivity().getPackageName());
|
||||
//custom field:
|
||||
fields.put(PLUGIN_A_PASSPHRASE, "some long text");
|
||||
//mark custom field as protected (i.e. display masked, enable memory protection in Keepass2)
|
||||
ArrayList<String> protectedFields = new ArrayList<String>();
|
||||
protectedFields.add(PLUGIN_A_PASSPHRASE);
|
||||
|
||||
//add to KP2A
|
||||
PlaceholderFragment.this.startActivityForResult(
|
||||
Kp2aControl.getAddEntryIntent(fields, protectedFields),
|
||||
2);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
Toast.makeText(
|
||||
PlaceholderFragment.this.getActivity(),
|
||||
"no KP2A host app found",
|
||||
Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
```
|
||||
|
||||
Note that this does not even require access authorization because the user will actively save the entry anyways (after selecting the group where to create it.)
|
||||
|
||||
## Get information about database actions
|
||||
With {"SCOPE_DATABASE_ACTIONS"}, you will be informed when the user opens, closes, locks or unlocks the database including the file name information.
|
||||
|
||||
PluginA uses this to simply display a toast message in its ActionReceiver:
|
||||
|
||||
```java
|
||||
@Override
|
||||
protected void dbAction(DatabaseAction db) {
|
||||
|
||||
Log.d("PluginA", db.getAction() + " in file " + db.getFileDisplayName() + " ("+db.getFilePath()+")");
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Sample plugin
|
||||
Most example code from above is taken from the simple sample plugin "PluginA" as can be found on [https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/](https://keepass2android.codeplex.com/SourceControl/latest#src/java/PluginA/)
|
@@ -1,31 +0,0 @@
|
||||
<div class="wikidoc">
|
||||
<h1>How to use Keepass2Android with YubiKey NEO</h1>
|
||||
<p>Please refer to the documentation on the Keepass website (<a href="http://keepass.info/help/kb/yubikey.html">http://keepass.info/help/kb/yubikey.html</a>) or the Yubico website (<a href="http://www.yubico.com/applications/password-management/consumer/keepass/">http://www.yubico.com/applications/password-management/consumer/keepass/</a>)
|
||||
on how to set up a Keepass 2 database with Yubikey/OTP protection.<br>
|
||||
<br>
|
||||
After successful setup you should have the database file, e.g. yubi.kdbx, and the OTP auxiliary file, e.g. yubi.otp.xml, both in the same folder.<br>
|
||||
<a href="How to use Keepass2Android with YubiKey NEO_OTPAuxFile_2.png"><img title="OTPAuxFile" src="How to use Keepass2Android with YubiKey NEO_OTPAuxFile_thumb.png" alt="OTPAuxFile" width="513" height="40" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
|
||||
<p>Make sure you make <strong>both files</strong> available to Keepass2Android, e.g. by placing them both in your Dropbox.</p>
|
||||
<p>Now you should check your NDEF setup of the Yubikey NEO. Therefore, go to the Tools menu in the Yubico Personalization Utility. Select the same slot as used for OTPs with Keepass 2. The default setting for NDEF type and payload should work. If you experience
|
||||
problems, you may use the configuration as shown in this screenshot or simply press the “Reset” button:</p>
|
||||
<p><a href="How to use Keepass2Android with YubiKey NEO_image_2.png"><img title="image" src="How to use Keepass2Android with YubiKey NEO_image_thumb.png" alt="image" width="760" height="622" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
|
||||
<p><br>
|
||||
<br>
|
||||
In Keepass2Android, select "Open file" and locate your database file, e.g. yubi.kdbx.<br>
|
||||
<br>
|
||||
In the password screen under "Select master key type" select "Password + OTP".</p>
|
||||
<p><a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-50_2.png"><img title="Screenshot_2013-12-13-06-38-50" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-50_thumb.png" alt="Screenshot_2013-12-13-06-38-50" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
|
||||
<p>Click "Load auxiliary OTP file". This is required to load the information how many OTPs must be entered. As loading the file might require user action in some cases, this is not performed automatically.<br>
|
||||
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-12_2.png"><img title="Screenshot_2013-12-13-06-38-12" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-12_thumb.png" alt="Screenshot_2013-12-13-06-38-12" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a><br>
|
||||
After loading the OTP auxiliary file, you should see a few text fields for entering the OTPs. Now swipe your YubiKey NEO at the back of your Android device. If you have multiple apps which can handle NFC actions, you might be prompted to select which app to
|
||||
use. Select Keepass2Android in this case. Swipe your YubiKey again until all OTP fields are filled. Note: You don't need to select the next text field, this is done automatically!<br>
|
||||
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-36_2.png"><img title="Screenshot_2013-12-13-06-38-36" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-38-36_thumb.png" alt="Screenshot_2013-12-13-06-38-36" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a><br>
|
||||
Don't forget to also enter your password and click OK. You will see the “Saving auxiliary OTP file…” dialog. Note that there is some encryption envolved which is probably fast on your PC but might take some time on your mobile device. You
|
||||
can reduce the look-ahead window length to speed this up.<br>
|
||||
<a href="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-39-47_2.png"><img title="Screenshot_2013-12-13-06-39-47" src="How to use Keepass2Android with YubiKey NEO_Screenshot_2013-12-13-06-39-47_thumb.png" alt="Screenshot_2013-12-13-06-39-47" width="204" height="360" border="0" style="padding-top:0px; padding-left:0px; display:inline; padding-right:0px; border:0px"></a></p>
|
||||
<h2> </h2>
|
||||
<h2>A note about offline access</h2>
|
||||
<p>If your database is stored in the cloud or on the web, you can still access it if you have enabled file caching (which is on by default). With OTPs, this becomes a little bit more complicated: If you repeatedly open your datbase while being offline, the
|
||||
OTP counter stored on the Yubikey will be increased. Don’t forget to synchronize the database (which will also synchronize the OTP auxiliary file) as soon as possible to avoid problems with accessing your database on other devices! If you often need
|
||||
to open the database while you’re offline, consider increasing the look-ahead window length!</p>
|
||||
</div><div class="ClearBoth"></div>
|
@@ -1,25 +0,0 @@
|
||||
Keepass2Android's apk is pretty big, e.g. when comparing to Keepassdroid. The main difference is that Keepass2Android is built on Mono for Android. Mono is an open-source implementation of the Microsoft .Net Framework (installed on pretty much every Windows PC). On Windows, the .net framework requires several hundred MB (but only once, not for every application). On Android devices, Mono is not installed globally. Instead, it is packaged into every app. The more features from Mono are required, the bigger the package becomes.
|
||||
|
||||
Here's a list of what is contained in the Keepass2Android 0.9.1 application package:
|
||||
|
||||
```
|
||||
Mono for Android
|
||||
.net dlls 5.0 MB
|
||||
Runtime 2.5 MB
|
||||
Google libraries 0.8 MB
|
||||
(for Drive support)
|
||||
|
||||
Resources Strings, Icons.. 2.1 MB
|
||||
Password Font 0.2 MB
|
||||
Java Code including Dropbox 1.1 MB
|
||||
GDrive, SkyDrive
|
||||
libraries
|
||||
|
||||
Keepass library 0.2 MB
|
||||
Keepass2Android Code 0.3 MB
|
||||
Java/Mono bindings 0.5 MB
|
||||
|
||||
rest 0.3 MB
|
||||
|
||||
TOTAL 13 MB
|
||||
```
|
@@ -1,20 +0,0 @@
|
||||
Google has introduced the Android Autofill interface in Android 8. Keepass2Android supports this interface. In most Android apps and all Autofill-enabled browsers, this is the most convenient way of entering passwords. As soon as you focus a field, you will see a popup "Fill with Keepass2Android".
|
||||
|
||||
<img src="autofill-facebook.png" />
|
||||
|
||||
After clicking this popup, you can unlock your KP2A database. If automatic look up succeeds, KP2A will close automatically, if not you are prompted to select the entry you want to auto-fill. When returning to the target app, the fields should be filled automatically already.
|
||||
|
||||
As of January 2018, the following browsers are known to have Android Autofill support:
|
||||
|
||||
* Firefox Focus / Firefox Klar
|
||||
* Opera Mini
|
||||
|
||||
These browsers do not (yet) have autofill support:
|
||||
|
||||
* Google Chrome
|
||||
* Firefox for Android ([bugzilla entry](https://bugzilla.mozilla.org/show_bug.cgi?id=1352011))
|
||||
* Brave-Browser
|
||||
* Opera
|
||||
|
||||
Please use the Share-URL-feature and the built-in KP2A keyboard for these browsers.
|
||||
|
@@ -1,25 +1 @@
|
||||
# Who we are
|
||||
|
||||
Philipp Crocoll
|
||||
Wallonenstr. 4
|
||||
76297 Stutensee
|
||||
Germany
|
||||
|
||||
is the author of Keepass2Android and Keepass2Android Offline.
|
||||
|
||||
# What data is collected?
|
||||
|
||||
The contents of your password database is yours and is never collected by us. Keepass2Android stores this data on a location chosen by the user and encrypted in the Keepass database format. The app author does not have any access, neither to the files nor the contents. Depending on the user's choice of the storage location, the files may be stored on third-party servers like Dropbox or Google Drive.
|
||||
|
||||
Keepass2Android does not collect personal identifiable information. For debugging purposes, the user may activate creating a debug log. This collects data inside the app and is not accessible to any other app nor the author of the app, unless the user explicitly sends the debug log to the author. Debug logs usually do not contain personal identifiable information, except if such information is part of file or folder names. Debug logs will not be shared with third parties unless explicitly authorized by the sender.
|
||||
|
||||
# What Android permissions are required?
|
||||
|
||||
* **Internet** (Keepass2Android regular only): Required to allow the user to read/store password databases or key files on remote locations, e.g. Dropbox or via WebDav.
|
||||
* **Contacts/Accounts** (Keepass2Android regular only): Required by the Google Drive SDK. If you want to access files on Google Drive, you are prompted to select one of the Google Accounts on your phone to use. The permission is required to query the list of Google accounts on the device. Keepass2Android does not access your personal contacts.
|
||||
* **Storage**: Required to allow the user to read/store password databases or key files on the device locally.
|
||||
* **Fingerprint/Biometric**: Required if you want to use biometric unlock.
|
||||
* **Vibrate**: Required by the built-in keyboard (vibrate on key press)
|
||||
* **Camera**: Required for scanning OTP QR Codes
|
||||
* **Foreground service**: Required to keep the app alive for QuickUnlock (so you don't need to enter your full master password repeatedly)
|
||||
|
||||
This page has been moved to the [wiki](https://github.com/PhilippC/keepass2android/wiki/Privacy-Policy)
|
@@ -2,8 +2,8 @@
|
||||
|
||||
|
||||
# What is Keepass2Android?
|
||||
Keepass2Android is a password manager app. It allows to store and retrieve passwords and other sensitive information in a file called "database". This database is secured with a so-called master password. The master password typically is a strong password and can be complemented with a second factor for additional security.
|
||||
The password database file can be synchronized across different devices. This works best using one of the built-in cloud storage options, but can also be performed with third-party apps. Keepass2Android is compatible with Keepass 1 and Keepass 2 on Windows and KeepassX on Linux.
|
||||
Keepass2Android is a password manager app. It allows to store and retrieve passwords and other sensitive information in a file called "database", secured with a strong key.
|
||||
The password database file can be synchronized across different devices. This works best using one of the built-in cloud storage options, but can also be performed with third-party apps. Keepass2Android is compatible with KeePass 2.x and KeepassXC on PCs as well as many other KeePass ports for a variety of platforms.
|
||||
|
||||
# Where to get it?
|
||||
Regular stable releases of Keepass2Android are available on [Google Play](https://play.google.com/store/apps/details?id=keepass2android.keepass2android).
|
||||
@@ -17,11 +17,7 @@ Beta-releases can be obtained by opting in to the [Beta testing channel](https:/
|
||||
* [Make a donation](http://philipp.crocoll.net/donate.php)
|
||||
|
||||
# How do I learn more?
|
||||
Please see the [documentation](Documentation.md).
|
||||
Please see the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation) for further information.
|
||||
|
||||
# How do I build the project?
|
||||
If you want to build Keepass2Android, check the [build guide](Build.readme.md).
|
||||
|
||||
The project homepage is https://philipp.crocoll.net/keepass2android/index.php
|
||||
|
||||
<img src="https://github.com/PhilippC/keepass2android/actions/workflows/build.yml/badge.svg" alt="build status" /> [Build status](https://github.com/PhilippC/keepass2android/actions)
|
||||
|
@@ -1,72 +0,0 @@
|
||||
# SFTP Open/Create Database Credentials Documentation
|
||||
|
||||
## Basic Settings
|
||||
* **Host** -- the hostname or IP address of the SFTP server to connect to
|
||||
* **Port** -- the listening TCP port of the SFTP server to connect to (default: 22)
|
||||
* **Username** -- the user/account name on the SFTP server that has access to the database
|
||||
* **Initial directory** -- The path on the SFTP server that will be used as a starting point when choosing the remote database file
|
||||
|
||||
### Authentication Modes
|
||||
|
||||
#### Password
|
||||
Authenticate using a password
|
||||
|
||||
* **Password** -- the password associated with **username** used to log into the SFTP server
|
||||
|
||||
#### K2A Private/Public Key
|
||||
Authenticate using a private/public key pair that is generated internally by KP2A
|
||||
|
||||
* **SEND PUBLIC KEY...** -- Opens a standard Android "Share" screen containing the KP2A public key content. This allows for the public key to be sent via email, SMS, etc. This public key will need to be added to the SFTP server's user's "authorized keys" to allow private/public key authentication.
|
||||
|
||||
#### Custom Private Key
|
||||
Authenticate using an existing private/public key pair. Use this option instead of *K2A Private/Public Key* if you wish to use a key pair that is already set up for this **username** on the SFTP server.
|
||||
|
||||
* **Selected private key** -- a combo-box containing a list of custom private keys that KP2A knows about, and a special `[Add new...]` option.
|
||||
##### Add A New Private Key
|
||||
* Select `[Add new...]`
|
||||
* Enter a name for the new key in **New key name**
|
||||
* Enter the private key contents (text) into **New key content**. **TIP:** The easiest way to accomplish this is to open the private key file in a text editor on the device, **Select All**, **Copy** to the clipboard, and paste it into **New key content**.
|
||||
* Tap **SAVE PRIVATE KEY** to add the new key to the known list.
|
||||
|
||||
##### Use An Existing Private Key
|
||||
* To use a private key that has already been imported into KP2A, simply select it from the list of keys.
|
||||
|
||||
##### Remove An Existing Key
|
||||
* To remove a private that has been imported into KP2A, select it from the list and tap **DELETE PRIVATE KEY**.
|
||||
|
||||
A **key passphrase** can be supplied (if the key pair requires it)
|
||||
|
||||
## Advanced Settings
|
||||
* **Connection timeout seconds** -- the number of seconds to wait for a connection to the server before giving up and considering the server as unavailable/unreachable
|
||||
|
||||
### Key Algorithm Manipulation
|
||||
**NOTE: It is very rare that these fields need to be (or should be) specified. Use at your own risk!**
|
||||
|
||||
* **Key Exchange (KEX) Algorithm(s)** -- Explicitly set or modify the ordered list of Key Exchange algorithms that the SSH/SFTP client library will try to use
|
||||
* **Server Host Key Algorithm(s)** -- Explicitly set or modify the ordered list of Server Host Key algorithms that the SSH/SFTP client library will try to use
|
||||
|
||||
#### How It Works
|
||||
The SSH/SFTP client has a pre-defined ordered list of algorithm names that it will use to negotiate with the server to handle key exchange. In rare cases there are compatibility issues where Android OS has not properly implemented full support for algorithms listed. This can result in a connection failure, even if there is a suitable algorithm available (of lesser priority in the list).
|
||||
|
||||
The fields listed above allow these lists to be manipulated in the following ways to overcome/workaround such problems. The value is a comma-separated list of "algorithm spec" entries. Specs can be one of:
|
||||
|
||||
* Direct replacement of values -- Ex: `primary_alg,secondary_alg`
|
||||
* Prepend to values -- Ex: `+try_first_alg`
|
||||
* Append to values -- Ex: `try_last_alg+`
|
||||
* Remove a specific value -- Ex: `-bad_alg`
|
||||
* Remove values matching prefix -- Ex: `-bad_starting_with*`
|
||||
* Remove values matching suffix -- Ex: `-*bad_ending_with`
|
||||
* Remove values matching substring -- Ex: `-*bad_middle*`
|
||||
* Remove values matching prefix and suffix -- Ex: `-alg_begin*end`
|
||||
|
||||
For example, assume the system's KEX algorithm list is:
|
||||
`ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256`
|
||||
|
||||
These are various outcomes (user KEX field -> result):
|
||||
|
||||
* Prefix removal: `-ec*` --> `diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256`
|
||||
* Suffix removal, appending: `-*256,+first_alg,almost_last_alg+,last_alg+` --> `first_alg,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,almost_last_alg,last_alg`
|
||||
* Direct replacement: `first_alg,middle_alg,last_alg` --> `first_alg,middle_alg,last_alg`
|
||||
|
||||
## Selecting A Database
|
||||
Once all applicable fields have been entered and/or options selected, tapping **OK** will attempt to connect to the SFTP server. First time connections may pop up a dialog window asking to accept the host's authenticity (tap **yes** if the host is trusted), as well as potentially creating a new `known_hosts` file (tap **yes** to do so). If the connection is successful, a remote file browser screen will open. Navigate and select the Keepass database to open.
|
@@ -1 +0,0 @@
|
||||
theme: jekyll-theme-slate
|
Before Width: | Height: | Size: 69 KiB |
@@ -35,8 +35,6 @@ namespace KeePassLib.Cryptography
|
||||
{
|
||||
get
|
||||
{
|
||||
Debug.Assert(m_dicts.Count > 0); // Should be initialized
|
||||
|
||||
int iMaxLen = 0;
|
||||
foreach(int iLen in m_dicts.Keys)
|
||||
{
|
||||
|
@@ -445,6 +445,9 @@ namespace Kp2aAutofillParser
|
||||
|
||||
public static string ToCanonicalHint(string hint)
|
||||
{
|
||||
//avoid crash when looking up a null key
|
||||
if (hint == null)
|
||||
return "";
|
||||
string canonicalHint;
|
||||
if (!hintToCanonicalReplacement.TryGetValue(hint, out canonicalHint))
|
||||
canonicalHint = hint;
|
||||
@@ -841,6 +844,7 @@ namespace Kp2aAutofillParser
|
||||
continue;
|
||||
if (viewHints.Where(h => h != null).Select(AutofillHintsHelper.ToCanonicalHint).Intersect(_autofillHintsForLogin).Any())
|
||||
{
|
||||
|
||||
AddFieldToHintMap(viewNode, viewHints.Where(h => h != null).Select(AutofillHintsHelper.ToCanonicalHint).ToHashSet().ToArray());
|
||||
}
|
||||
|
||||
|
@@ -29,6 +29,14 @@ namespace keepass2android
|
||||
|
||||
}
|
||||
|
||||
|
||||
public enum MessageSeverity
|
||||
{
|
||||
Info,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Interface through which Activities and the logic layer can access some app specific functionalities and Application static data
|
||||
/// </summary>
|
||||
@@ -102,10 +110,13 @@ namespace keepass2android
|
||||
Context ctx,
|
||||
string messageSuffix = "");
|
||||
|
||||
/// <summary>
|
||||
/// Returns a Handler object which can run tasks on the UI thread
|
||||
/// </summary>
|
||||
Handler UiThreadHandler { get; }
|
||||
void ShowMessage(Context ctx, int resourceId, MessageSeverity severity);
|
||||
void ShowMessage(Context ctx, string text, MessageSeverity severity);
|
||||
|
||||
/// <summary>
|
||||
/// Returns a Handler object which can run tasks on the UI thread
|
||||
/// </summary>
|
||||
Handler UiThreadHandler { get; }
|
||||
|
||||
IProgressDialog CreateProgressDialog(Context ctx);
|
||||
|
||||
|
@@ -13,7 +13,7 @@ using Android.Content.PM;
|
||||
using Android.OS;
|
||||
using Android.Preferences;
|
||||
using Java.IO;
|
||||
|
||||
using KeePass.Util;
|
||||
using KeePassLib.Serialization;
|
||||
using KeePassLib.Utility;
|
||||
using File = System.IO.File;
|
||||
@@ -121,7 +121,7 @@ namespace keepass2android.Io
|
||||
var response = ex.Response as HttpWebResponse;
|
||||
if ((response != null) && (response.StatusCode == HttpStatusCode.NotFound))
|
||||
{
|
||||
throw new FileNotFoundException(ex.Message, ioc.Path, ex);
|
||||
throw new FileNotFoundException(ExceptionUtil.GetErrorMessage(ex), ioc.Path, ex);
|
||||
}
|
||||
if (ex.Status == WebExceptionStatus.TrustFailure)
|
||||
{
|
||||
|
@@ -13,6 +13,7 @@ using Keepass2android.Javafilestorage;
|
||||
#endif
|
||||
using Exception = System.Exception;
|
||||
using FileNotFoundException = Java.IO.FileNotFoundException;
|
||||
using KeePass.Util;
|
||||
|
||||
namespace keepass2android.Io
|
||||
{
|
||||
@@ -42,7 +43,7 @@ namespace keepass2android.Io
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
throw new System.IO.FileNotFoundException(e.Message, e);
|
||||
throw new System.IO.FileNotFoundException(ExceptionUtil.GetErrorMessage(e), e);
|
||||
}
|
||||
catch (Java.Lang.Exception e)
|
||||
{
|
||||
@@ -195,7 +196,7 @@ namespace keepass2android.Io
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
throw new System.IO.FileNotFoundException(e.Message, e);
|
||||
throw new System.IO.FileNotFoundException(ExceptionUtil.GetErrorMessage(e), e);
|
||||
}
|
||||
catch (Java.Lang.Exception e)
|
||||
{
|
||||
@@ -214,7 +215,7 @@ namespace keepass2android.Io
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
throw new System.IO.FileNotFoundException(e.Message, e);
|
||||
throw new System.IO.FileNotFoundException(ExceptionUtil.GetErrorMessage(e), e);
|
||||
}
|
||||
catch (Java.Lang.Exception e)
|
||||
{
|
||||
@@ -244,7 +245,7 @@ namespace keepass2android.Io
|
||||
}
|
||||
catch (FileNotFoundException e)
|
||||
{
|
||||
throw new System.IO.FileNotFoundException(e.Message, e);
|
||||
throw new System.IO.FileNotFoundException(ExceptionUtil.GetErrorMessage(e), e);
|
||||
}
|
||||
catch (Java.Lang.Exception e)
|
||||
{
|
||||
|
@@ -8,6 +8,7 @@ using Android.Content;
|
||||
using Android.OS;
|
||||
using FluentFTP;
|
||||
using FluentFTP.Exceptions;
|
||||
using KeePass.Util;
|
||||
using KeePassLib;
|
||||
using KeePassLib.Serialization;
|
||||
using KeePassLib.Utility;
|
||||
@@ -127,7 +128,7 @@ namespace keepass2android.Io
|
||||
var ftpEx = (FtpCommandException) exception;
|
||||
|
||||
if (ftpEx.CompletionCode == "550")
|
||||
throw new FileNotFoundException(exception.Message, exception);
|
||||
throw new FileNotFoundException(ExceptionUtil.GetErrorMessage(exception), exception);
|
||||
}
|
||||
|
||||
return exception;
|
||||
|
@@ -3,6 +3,7 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using Android.Content;
|
||||
using Android.Util;
|
||||
using KeePass.Util;
|
||||
using keepass2android.Io.ItemLocation;
|
||||
using KeePassLib.Serialization;
|
||||
using KeePassLib.Utility;
|
||||
@@ -522,10 +523,10 @@ namespace keepass2android.Io
|
||||
{
|
||||
|
||||
if (e.IsMatch(GraphErrorCode.ItemNotFound.ToString()))
|
||||
return new FileNotFoundException(e.Message);
|
||||
return new FileNotFoundException(ExceptionUtil.GetErrorMessage(e));
|
||||
if (e.Message.Contains("\n\n404 : ")
|
||||
) //hacky solution to check for not found. errorCode was null in my tests so I had to find a workaround.
|
||||
return new FileNotFoundException(e.Message);
|
||||
return new FileNotFoundException(ExceptionUtil.GetErrorMessage(e));
|
||||
return e;
|
||||
}
|
||||
|
||||
@@ -1148,30 +1149,46 @@ namespace keepass2android.Io
|
||||
});
|
||||
}
|
||||
|
||||
string? driveId = parentPath.DriveId;
|
||||
if ((string.IsNullOrEmpty(driveId)) && (drives?.Any() == true))
|
||||
{
|
||||
driveId = drives.First().Id;
|
||||
}
|
||||
|
||||
|
||||
if (!CanListShares)
|
||||
return result;
|
||||
|
||||
|
||||
var sharedWithMeResponse = await client.Drives[driveId].SharedWithMe.GetAsSharedWithMeGetResponseAsync();
|
||||
|
||||
foreach (DriveItem i in sharedWithMeResponse?.Value ?? [])
|
||||
try
|
||||
{
|
||||
var oneDrive2ItemLocation = parentPath.BuildShare(i.RemoteItem.Id, i.RemoteItem.Name, i.RemoteItem.WebUrl, i.RemoteItem.ParentReference.DriveId);
|
||||
FileDescription sharedFileEntry = new FileDescription()
|
||||
string? driveId = parentPath.DriveId;
|
||||
if (string.IsNullOrEmpty(driveId))
|
||||
{
|
||||
CanWrite = true, CanRead = true, DisplayName = i.Name,
|
||||
IsDirectory = true,
|
||||
Path = oneDrive2ItemLocation.ToString()
|
||||
};
|
||||
result.Add(sharedFileEntry);
|
||||
driveId = (await client.Me.Drive.GetAsync()).Id;
|
||||
}
|
||||
if ((string.IsNullOrEmpty(driveId)) && (drives?.Any() == true))
|
||||
{
|
||||
driveId = drives.First().Id;
|
||||
}
|
||||
|
||||
var sharedWithMeResponse = await client.Drives[driveId].SharedWithMe.GetAsSharedWithMeGetResponseAsync();
|
||||
|
||||
foreach (DriveItem i in sharedWithMeResponse?.Value ?? [])
|
||||
{
|
||||
var oneDrive2ItemLocation = parentPath.BuildShare(i.RemoteItem.Id, i.RemoteItem.Name, i.RemoteItem.WebUrl, i.RemoteItem.ParentReference.DriveId);
|
||||
FileDescription sharedFileEntry = new FileDescription()
|
||||
{
|
||||
CanWrite = true,
|
||||
CanRead = true,
|
||||
DisplayName = i.Name,
|
||||
IsDirectory = (i.Folder != null) || ((i.RemoteItem != null) && (i.RemoteItem.Folder != null)),
|
||||
Path = oneDrive2ItemLocation.ToString()
|
||||
};
|
||||
result.Add(sharedFileEntry);
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logDebug("Failed to list shares: " + e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@@ -16,20 +16,32 @@ namespace keepass2android.Io
|
||||
/// </summary>
|
||||
public class OneDriveFileStorage: IFileStorage
|
||||
{
|
||||
|
||||
public IEnumerable<string> SupportedProtocols
|
||||
public OneDriveFileStorage(IKp2aApp app)
|
||||
{
|
||||
_app = app;
|
||||
}
|
||||
|
||||
private readonly IKp2aApp _app;
|
||||
|
||||
public IEnumerable<string> SupportedProtocols
|
||||
{
|
||||
get
|
||||
{
|
||||
yield return "skydrive";
|
||||
yield return "onedrive";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Exception GetDeprecatedMessage()
|
||||
string GetDeprecatedMessage()
|
||||
{
|
||||
return
|
||||
"You have opened your file through a deprecated Microsoft API. Please select Change database, Open Database and then select OneDrive again.";
|
||||
}
|
||||
|
||||
private Exception GetDeprecatedException()
|
||||
{
|
||||
return new Exception(
|
||||
"You have opened your file through a deprecated Microsoft API. Please select Change database, Open Database and then select One Drive again.");
|
||||
GetDeprecatedMessage());
|
||||
}
|
||||
|
||||
public bool UserShouldBackup
|
||||
@@ -39,133 +51,132 @@ namespace keepass2android.Io
|
||||
|
||||
public void Delete(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public bool CheckForFileChangeFast(IOConnectionInfo ioc, string previousFileVersion)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public string GetCurrentFileVersionFast(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public Stream OpenFileForRead(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public IWriteTransaction OpenWriteTransaction(IOConnectionInfo ioc, bool useFileTransaction)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public string GetFilenameWithoutPathAndExt(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public string GetFileExtension(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public bool RequiresCredentials(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
return false;
|
||||
}
|
||||
|
||||
public void CreateDirectory(IOConnectionInfo ioc, string newDirName)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public IEnumerable<FileDescription> ListContents(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public FileDescription GetFileDescription(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public bool RequiresSetup(IOConnectionInfo ioConnection)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
return false;
|
||||
}
|
||||
|
||||
public string IocToPath(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public void StartSelectFile(IFileStorageSetupInitiatorActivity activity, bool isForSave, int requestCode, string protocolId)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
|
||||
}
|
||||
|
||||
public void PrepareFileUsage(IFileStorageSetupInitiatorActivity activity, IOConnectionInfo ioc, int requestCode,
|
||||
bool alwaysReturnSuccess)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
_app.ShowMessage(activity.Activity, GetDeprecatedMessage(), MessageSeverity.Error);
|
||||
|
||||
}
|
||||
|
||||
public void PrepareFileUsage(Context ctx, IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
|
||||
}
|
||||
|
||||
public void OnCreate(IFileStorageSetupActivity activity, Bundle savedInstanceState)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
|
||||
}
|
||||
|
||||
public void OnResume(IFileStorageSetupActivity activity)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
|
||||
}
|
||||
|
||||
public void OnStart(IFileStorageSetupActivity activity)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
}
|
||||
|
||||
public void OnActivityResult(IFileStorageSetupActivity activity, int requestCode, int resultCode, Intent data)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
}
|
||||
|
||||
public string GetDisplayName(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
return "File using deprecated Microsoft API. Please update.";
|
||||
}
|
||||
|
||||
public string CreateFilePath(string parent, string newFilename)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public IOConnectionInfo GetParentPath(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public IOConnectionInfo GetFilePath(IOConnectionInfo folderPath, string filename)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public bool IsPermanentLocation(IOConnectionInfo ioc)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
|
||||
public bool IsReadOnly(IOConnectionInfo ioc, OptionalOut<UiStringKey> reason = null)
|
||||
{
|
||||
throw GetDeprecatedMessage();
|
||||
throw GetDeprecatedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -4,6 +4,7 @@ using Android.Content;
|
||||
using Android.OS;
|
||||
using Android.Widget;
|
||||
using Java.Net;
|
||||
using KeePass.Util;
|
||||
using KeePassLib.Serialization;
|
||||
using keepass2android.Io;
|
||||
|
||||
@@ -94,7 +95,7 @@ namespace keepass2android
|
||||
}
|
||||
if ((resultCode == Result.Canceled) && (data != null) && (data.HasExtra("EXTRA_ERROR_MESSAGE")))
|
||||
{
|
||||
ShowToast(data.GetStringExtra("EXTRA_ERROR_MESSAGE"));
|
||||
ShowErrorToast(data.GetStringExtra("EXTRA_ERROR_MESSAGE"));
|
||||
}
|
||||
|
||||
if (resultCode == Result.Ok)
|
||||
@@ -150,7 +151,7 @@ namespace keepass2android
|
||||
|
||||
protected abstract void StartFileChooser(string path, int requestCode, bool isForSave);
|
||||
|
||||
protected abstract void ShowToast(string text);
|
||||
protected abstract void ShowErrorToast(string text);
|
||||
|
||||
protected abstract void ShowInvalidSchemeMessage(string dataString);
|
||||
|
||||
@@ -208,7 +209,7 @@ namespace keepass2android
|
||||
{
|
||||
return () =>
|
||||
{
|
||||
ShowToast(_app.GetResourceString(UiStringKey.ErrorOcurred) + " " + e.Message);
|
||||
ShowErrorToast(_app.GetResourceString(UiStringKey.ErrorOcurred) + " " + ExceptionUtil.GetErrorMessage(e));
|
||||
ReturnCancel();
|
||||
};
|
||||
}
|
||||
|
25
src/Kp2aBusinessLogic/Utils/ExceptionUtil.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace KeePass.Util
|
||||
{
|
||||
public class ExceptionUtil
|
||||
{
|
||||
|
||||
public static string GetErrorMessage(Exception e)
|
||||
{
|
||||
string errorMessage = e.Message;
|
||||
if (e is Java.Lang.Exception javaException)
|
||||
{
|
||||
errorMessage = javaException.LocalizedMessage ?? javaException.Message ?? errorMessage;
|
||||
}
|
||||
|
||||
return errorMessage;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -5,6 +5,7 @@ using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using Android.App;
|
||||
using Android.Content;
|
||||
using KeePass.Util;
|
||||
using KeePassLib.Cryptography;
|
||||
using KeePassLib.Serialization;
|
||||
using KeePassLib.Utility;
|
||||
@@ -65,7 +66,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Finish(false, e.Message);
|
||||
Finish(false, ExceptionUtil.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -10,6 +10,7 @@ using Com.Keepassdroid.Database.Exception;
|
||||
#endif
|
||||
using Com.Keepassdroid.Database.Save;
|
||||
using Java.Util;
|
||||
using KeePass.Util;
|
||||
using KeePassLib;
|
||||
using KeePassLib.Cryptography;
|
||||
using KeePassLib.Cryptography.Cipher;
|
||||
@@ -82,15 +83,14 @@ namespace keepass2android
|
||||
catch (Java.IO.FileNotFoundException e)
|
||||
{
|
||||
throw new FileNotFoundException(
|
||||
e.Message, e);
|
||||
ExceptionUtil.GetErrorMessage(e), e);
|
||||
}
|
||||
catch (Java.Lang.Exception e)
|
||||
{
|
||||
if (e.Message == "Invalid key!")
|
||||
throw new InvalidCompositeKeyException();
|
||||
throw new Exception(e.LocalizedMessage ??
|
||||
e.Message ??
|
||||
e.GetType().Name, e);
|
||||
throw new Exception(ExceptionUtil.GetErrorMessage(e) ??
|
||||
e.GetType().Name, e);
|
||||
}
|
||||
|
||||
HashOfLastStream = hashingStream.Hash;
|
||||
|
@@ -6,6 +6,7 @@ using Android.App;
|
||||
using Android.Content;
|
||||
using KeePassLib.Serialization;
|
||||
using keepass2android.Io;
|
||||
using KeePass.Util;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -109,7 +110,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Finish(false, e.Message);
|
||||
Finish(false, ExceptionUtil.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -21,6 +21,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Android.App;
|
||||
using KeePass.Util;
|
||||
using keepass2android.database.edit;
|
||||
using KeePassLib;
|
||||
using KeePassLib.Keys;
|
||||
@@ -103,10 +104,10 @@ namespace keepass2android
|
||||
}
|
||||
catch (AggregateException e)
|
||||
{
|
||||
string message = e.Message;
|
||||
string message = ExceptionUtil.GetErrorMessage(e);
|
||||
foreach (var innerException in e.InnerExceptions)
|
||||
{
|
||||
message = innerException.Message;
|
||||
message = ExceptionUtil.GetErrorMessage(innerException);
|
||||
// Override the message shown with the last (hopefully most recent) inner exception
|
||||
Kp2aLog.LogUnexpectedError(innerException);
|
||||
}
|
||||
@@ -116,14 +117,14 @@ namespace keepass2android
|
||||
catch (DuplicateUuidsException e)
|
||||
{
|
||||
Kp2aLog.Log(e.ToString());
|
||||
Finish(false, _app.GetResourceString(UiStringKey.DuplicateUuidsError) + " " + e.Message + _app.GetResourceString(UiStringKey.DuplicateUuidsErrorAdditional), false, Exception);
|
||||
Finish(false, _app.GetResourceString(UiStringKey.DuplicateUuidsError) + " " + ExceptionUtil.GetErrorMessage(e) + _app.GetResourceString(UiStringKey.DuplicateUuidsErrorAdditional), false, Exception);
|
||||
return;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (!(e is InvalidCompositeKeyException))
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + (e.Message ?? (e is FileNotFoundException ? _app.GetResourceString(UiStringKey.FileNotFound) : "")), false, Exception);
|
||||
Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + (ExceptionUtil.GetErrorMessage(e) ?? (e is FileNotFoundException ? _app.GetResourceString(UiStringKey.FileNotFound) : "")), false, Exception);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -130,24 +130,24 @@ namespace keepass2android
|
||||
if ( !String.IsNullOrEmpty(message) ) {
|
||||
Kp2aLog.Log("OnFinish message: " + message);
|
||||
if (makeDialog && ctx != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(ctx);
|
||||
|
||||
builder.SetMessage(message)
|
||||
.SetPositiveButton(Android.Resource.String.Ok, (sender, args) => ((Dialog)sender).Dismiss())
|
||||
.Show();
|
||||
{
|
||||
try
|
||||
{
|
||||
MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(ctx);
|
||||
|
||||
builder.SetMessage(message)
|
||||
.SetPositiveButton(Android.Resource.String.Ok, (sender, args) => ((Dialog)sender).Dismiss())
|
||||
.Show();
|
||||
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Toast.MakeText(ctx, message, ToastLength.Long).Show();
|
||||
}
|
||||
}
|
||||
{
|
||||
Toast.MakeText(ctx, message, ToastLength.Long).Show();
|
||||
}
|
||||
}
|
||||
else
|
||||
Toast.MakeText(ctx ?? Application.Context, message, ToastLength.Long).Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -29,6 +29,7 @@ using KeePassLib.Utility;
|
||||
using keepass2android.Io;
|
||||
using Debug = System.Diagnostics.Debug;
|
||||
using Exception = System.Exception;
|
||||
using KeePass.Util;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -187,7 +188,7 @@ namespace keepass2android
|
||||
}
|
||||
*/
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Finish(false, e.Message);
|
||||
Finish(false, ExceptionUtil.GetErrorMessage(e));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -222,8 +223,8 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Kp2aLog.Log("Error in worker thread of SaveDb: " + e);
|
||||
Finish(false, e.Message);
|
||||
Kp2aLog.Log("Error in worker thread of SaveDb: " + ExceptionUtil.GetErrorMessage(e));
|
||||
Finish(false, ExceptionUtil.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
});
|
||||
@@ -233,7 +234,7 @@ namespace keepass2android
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Kp2aLog.Log("Error starting worker thread of SaveDb: "+e);
|
||||
Finish(false, e.Message);
|
||||
Finish(false, ExceptionUtil.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
}
|
||||
|
25
src/build-scripts/build-java.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
#unset ANDROID_NDK_HOME ANDROID_NDK
|
||||
|
||||
pushd ../java/
|
||||
|
||||
pushd JavaFileStorageTest-AS
|
||||
./gradlew assemble
|
||||
popd
|
||||
|
||||
pushd KP2ASoftkeyboard_AS
|
||||
./gradlew assemble
|
||||
popd
|
||||
|
||||
pushd Keepass2AndroidPluginSDK2
|
||||
./gradlew assemble
|
||||
popd
|
||||
|
||||
pushd KP2AKdbLibrary
|
||||
./gradlew assemble
|
||||
popd
|
||||
|
||||
popd
|
6
src/build-scripts/build-native.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
pushd ../java/argon2
|
||||
ndk-build
|
||||
popd
|
29
src/build-scripts/linux-build.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## Setup build environment
|
||||
* install Android SDK
|
||||
* install Android NDK
|
||||
* install dotnet8
|
||||
|
||||
```
|
||||
|
||||
#from https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.407-linux-x64-binaries
|
||||
wget https://download.visualstudio.microsoft.com/download/pr/9d07577e-f7bc-4d60-838d-f79c50b5c11a/459ef339396783db369e0432d6dc3d7e/dotnet-sdk-8.0.407-linux-x64.tar.gz
|
||||
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-8.0.407-linux-x64.tar.gz -C $HOME/dotnet
|
||||
export DOTNET_ROOT=$HOME/dotnet
|
||||
export PATH=$PATH:$HOME/dotnet
|
||||
|
||||
```
|
||||
|
||||
## Build Keepass2Android
|
||||
|
||||
```
|
||||
git clone --recurse-submodules https://github.com/PhilippC/keepass2android.git
|
||||
cd keepass2android/src/build-scripts
|
||||
./build-java.sh && ./build-native.sh
|
||||
cd ..
|
||||
cp Kp2aBusinessLogic/Io/DropboxFileStorageKeysDummy.cs Kp2aBusinessLogic/Io/DropboxFileStorageKeys.cs
|
||||
cd keepass2android-app
|
||||
ln -s Manifests/AndroidManifest_debug.xml AndroidManifest.xml
|
||||
dotnet workload restore
|
||||
dotnet restore
|
||||
dotnet build
|
||||
```
|
@@ -113,4 +113,15 @@ extends Activity implements JavaFileStorage.FileStorageSetupActivity {
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
|
||||
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||
MainActivity.storageToTest.onRequestPermissionsResult(this, requestCode, permissions, grantResults);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@@ -147,6 +147,7 @@ import java.util.List;
|
||||
//import keepass2android.javafilestorage.DropboxCloudRailStorage;
|
||||
import keepass2android.javafilestorage.DropboxV2Storage;
|
||||
import keepass2android.javafilestorage.GoogleDriveAppDataFileStorage;
|
||||
import keepass2android.javafilestorage.GoogleDriveFullFileStorage;
|
||||
import keepass2android.javafilestorage.ICertificateErrorHandler;
|
||||
import keepass2android.javafilestorage.JavaFileStorage;
|
||||
import keepass2android.javafilestorage.JavaFileStorage.FileEntry;
|
||||
@@ -547,7 +548,7 @@ public class MainActivity extends Activity implements JavaFileStorage.FileStorag
|
||||
|
||||
|
||||
//storageToTest = new GoogleDriveAppDataFileStorage();
|
||||
storageToTest = new WebDavStorage(new ICertificateErrorHandler() {
|
||||
/*storageToTest = new WebDavStorage(new ICertificateErrorHandler() {
|
||||
@Override
|
||||
public boolean onValidationError(String error) {
|
||||
return false;
|
||||
@@ -558,10 +559,11 @@ public class MainActivity extends Activity implements JavaFileStorage.FileStorag
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
*/
|
||||
//storageToTest = new DropboxV2Storage(ctx,"4ybka4p4a1027n6", "1z5lv528un9nre8", !simulateRestart);
|
||||
//storageToTest = new DropboxFileStorage(ctx,"4ybka4p4a1027n6", "1z5lv528un9nre8", !simulateRestart);
|
||||
//storageToTest = new DropboxAppFolderFileStorage(ctx,"ax0268uydp1ya57", "3s86datjhkihwyc", true);
|
||||
storageToTest = new GoogleDriveFullFileStorage();
|
||||
|
||||
|
||||
return storageToTest;
|
||||
@@ -580,6 +582,8 @@ public class MainActivity extends Activity implements JavaFileStorage.FileStorag
|
||||
getMenuInflater().inflate(R.menu.main, menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||
|
@@ -64,8 +64,6 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
@Override
|
||||
public boolean onCreate() {
|
||||
|
||||
Log.d("KP2A_FC_P", "onCreate");
|
||||
|
||||
BaseFileProviderUtils.registerProviderInfo(_ID,
|
||||
getAuthority());
|
||||
|
||||
@@ -222,12 +220,12 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
try
|
||||
{
|
||||
checkConnection(uri);
|
||||
Log.d("KP2A_FC_P", "checking connection for " + uri + " ok.");
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "checking connection for " + uri + " ok.");
|
||||
return null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.d("KP2A_FC_P","Check connection failed with: " + e.toString());
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P","Check connection failed with: " + e.toString());
|
||||
|
||||
MatrixCursor matrixCursor = new MatrixCursor(BaseFileProviderUtils.CONNECTION_CHECK_CURSOR_COLUMNS);
|
||||
RowBuilder newRow = matrixCursor.newRow();
|
||||
@@ -255,7 +253,7 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
}
|
||||
catch (FileNotFoundException ex)
|
||||
{
|
||||
Log.d("KP2A_FC_P","File not found. Ignore.");
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P","File not found. Ignore.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -276,8 +274,8 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
MatrixCursor matrixCursor = null;
|
||||
|
||||
String lastPathSegment = uri.getLastPathSegment();
|
||||
|
||||
Log.d("KP2A_FC_P", "lastPathSegment:" + lastPathSegment);
|
||||
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "lastPathSegment:" + lastPathSegment);
|
||||
|
||||
if (BaseFile.CMD_CANCEL.equals(lastPathSegment)) {
|
||||
int taskId = ProviderUtils.getIntQueryParam(uri,
|
||||
@@ -361,7 +359,7 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
|
||||
} else if (BaseFile.CMD_CHECK_CONNECTION.equals(lastPathSegment))
|
||||
{
|
||||
Log.d("KP2A_FC_P","Check connection...");
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P","Check connection...");
|
||||
return getCheckConnectionCursor(uri);
|
||||
}
|
||||
|
||||
@@ -470,7 +468,7 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
String displayName = getFileEntryCached(dirName).displayName;
|
||||
newRow.add(displayName);
|
||||
|
||||
Log.d(CLASSNAME, "Returning name " + displayName+" for " +dirName);
|
||||
if (Utils.doLog()) Log.d(CLASSNAME, "Returning name " + displayName+" for " +dirName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -690,7 +688,7 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.d("KP2A_FC_P", "sortFiles() >> "+e);
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "sortFiles() >> "+e);
|
||||
throw e;
|
||||
}
|
||||
}// sortFiles()
|
||||
@@ -777,14 +775,14 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
path = removeTrailingSlash(path);
|
||||
if (path.indexOf("://") == -1)
|
||||
{
|
||||
Log.d("KP2A_FC_P", "invalid path: " + path);
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "invalid path: " + path);
|
||||
return null;
|
||||
}
|
||||
String pathWithoutProtocol = path.substring(path.indexOf("://") + 3);
|
||||
int lastSlashPos = path.lastIndexOf("/");
|
||||
if (pathWithoutProtocol.indexOf("/") == -1)
|
||||
{
|
||||
Log.d("KP2A_FC_P", "parent of " + path + " is null");
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "parent of " + path + " is null");
|
||||
return null;
|
||||
}
|
||||
else
|
||||
@@ -793,7 +791,7 @@ public abstract class Kp2aFileProvider extends BaseFileProvider {
|
||||
if (params != null) {
|
||||
parent += params;
|
||||
}
|
||||
Log.d("KP2A_FC_P", "parent of " + path +" is " + parent);
|
||||
if (Utils.doLog()) Log.d("KP2A_FC_P", "parent of " + path +" is " + parent);
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
|
@@ -55,4 +55,19 @@
|
||||
<string name="afc_title_size">Dimensiune</string>
|
||||
<string name="afc_title_sort_by">Sortează după…</string>
|
||||
<string name="afc_yesterday">Ieri</string>
|
||||
<plurals name="afc_title_choose_directories">
|
||||
<item quantity="one">Alege dosarul…</item>
|
||||
<item quantity="few">Alege dosarele…</item>
|
||||
<item quantity="other">Alege dosarele…</item>
|
||||
</plurals>
|
||||
<plurals name="afc_title_choose_files">
|
||||
<item quantity="one">Alege fișierul…</item>
|
||||
<item quantity="few">Alege fișierele…</item>
|
||||
<item quantity="other">Alege fișierele…</item>
|
||||
</plurals>
|
||||
<plurals name="afc_title_choose_files_directories">
|
||||
<item quantity="one">Alege fișierul/dosarul…</item>
|
||||
<item quantity="few">Alege fișierele/dosarele…</item>
|
||||
<item quantity="other">Alege fișierele/dosarele…</item>
|
||||
</plurals>
|
||||
</resources>
|
||||
|
@@ -59,7 +59,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (ActivityNotFoundException)
|
||||
{
|
||||
Toast.MakeText(Context, Resource.String.no_url_handler, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Context, Resource.String.no_url_handler, MessageSeverity.Error);
|
||||
}
|
||||
|
||||
};
|
||||
@@ -71,7 +71,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (ActivityNotFoundException)
|
||||
{
|
||||
Toast.MakeText(Context, Resource.String.no_url_handler, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Context, Resource.String.no_url_handler, MessageSeverity.Error);
|
||||
}
|
||||
};
|
||||
FindViewById(Resource.Id.translate).Click += delegate
|
||||
@@ -82,7 +82,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (ActivityNotFoundException)
|
||||
{
|
||||
Toast.MakeText(Context, Resource.String.no_url_handler, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Context, Resource.String.no_url_handler, MessageSeverity.Error);
|
||||
}
|
||||
}; FindViewById(Resource.Id.donate).Click += delegate
|
||||
{
|
||||
|
@@ -183,7 +183,7 @@ namespace keepass2android
|
||||
// Verify that a password or keyfile is set
|
||||
if (password.Length == 0 && !keyfileCheckbox.Checked)
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.error_nopass, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_nopass, MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.error_adding_keyfile, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_adding_keyfile, MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -235,7 +235,7 @@ namespace keepass2android
|
||||
if (! pass.Equals(confpass))
|
||||
{
|
||||
// Passwords do not match
|
||||
Toast.MakeText(this, Resource.String.error_pass_match, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_pass_match, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@@ -28,7 +28,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Finish(false, e.Message);
|
||||
Finish(false, Util.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -41,7 +41,7 @@ namespace keepass2android
|
||||
string requestedUrl = Intent.GetStringExtra(ChooseForAutofillActivityBase.ExtraQueryString);
|
||||
if (requestedUrl == null)
|
||||
{
|
||||
Toast.MakeText(this, "Cannot execute query for null.", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "Cannot execute query for null.", MessageSeverity.Error);
|
||||
RestartApp();
|
||||
return;
|
||||
}
|
||||
|
@@ -78,7 +78,7 @@ namespace keepass2android
|
||||
var task = new EntryActivity.WriteBinaryTask(_activity, App.Kp2a, new ActionOnFinish(_activity, (success, message, activity) =>
|
||||
{
|
||||
if (!success)
|
||||
Toast.MakeText(activity, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, message, MessageSeverity.Error);
|
||||
}
|
||||
), ((EntryActivity)_activity).Entry.Binaries.Get(_binaryToSave), ioc);
|
||||
ProgressTask pt = new ProgressTask(App.Kp2a, _activity, task);
|
||||
@@ -107,8 +107,8 @@ namespace keepass2android
|
||||
|
||||
public const int requestCodeBinaryFilename = 42376;
|
||||
public const int requestCodeSelFileStorageForWriteAttachment = 42377;
|
||||
|
||||
|
||||
protected override View? SnackbarAnchorView => FindViewById(Resource.Id.main_content);
|
||||
|
||||
public static void Launch(Activity act, PwEntry pw, int pos, AppTask appTask, ActivityFlags? flags = null, int historyIndex=-1)
|
||||
{
|
||||
@@ -767,9 +767,9 @@ namespace keepass2android
|
||||
|
||||
if (parent == null || (parent.Exists() && !parent.IsDirectory))
|
||||
{
|
||||
Toast.MakeText(this,
|
||||
App.Kp2a.ShowMessage(this,
|
||||
Resource.String.error_invalid_path,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -778,9 +778,9 @@ namespace keepass2android
|
||||
// Create parent directory
|
||||
if (!parent.Mkdirs())
|
||||
{
|
||||
Toast.MakeText(this,
|
||||
App.Kp2a.ShowMessage(this,
|
||||
Resource.String.error_could_not_create_parent,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return null;
|
||||
|
||||
}
|
||||
@@ -794,18 +794,18 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception exWrite)
|
||||
{
|
||||
Toast.MakeText(this,
|
||||
App.Kp2a.ShowMessage(this,
|
||||
GetString(Resource.String.SaveAttachment_Failed, new Java.Lang.Object[] {filename})
|
||||
+ exWrite.Message, ToastLength.Long).Show();
|
||||
+ Util.GetErrorMessage(exWrite), MessageSeverity.Error);
|
||||
return null;
|
||||
}
|
||||
finally
|
||||
{
|
||||
MemUtil.ZeroByteArray(pbData);
|
||||
}
|
||||
Toast.MakeText(this,
|
||||
App.Kp2a.ShowMessage(this,
|
||||
GetString(Resource.String.SaveAttachment_doneMessage, new Java.Lang.Object[] {filename}),
|
||||
ToastLength.Short).Show();
|
||||
MessageSeverity.Info);
|
||||
return Uri.Parse("content://" + AttachmentContentProvider.Authority + "/"
|
||||
+ filename);
|
||||
}
|
||||
@@ -838,7 +838,7 @@ namespace keepass2android
|
||||
catch (ActivityNotFoundException)
|
||||
{
|
||||
//ignore
|
||||
Toast.MakeText(this, "Couldn't open file", ToastLength.Short).Show();
|
||||
App.Kp2a.ShowMessage(this, "Couldn't open file", MessageSeverity.Error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1305,7 +1305,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Finish(false, ex.Message);
|
||||
Finish(false, Util.GetErrorMessage(ex));
|
||||
}
|
||||
|
||||
|
||||
@@ -1558,7 +1558,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (ActivityNotFoundException)
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.no_url_handler, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.no_url_handler, MessageSeverity.Error);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@@ -64,10 +64,10 @@ namespace keepass2android
|
||||
{
|
||||
[Activity(Label = "@string/app_name", ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden, Theme = "@style/Kp2aTheme_ActionBar")]
|
||||
public class EntryEditActivity : LockCloseActivity {
|
||||
|
||||
|
||||
|
||||
public const String KeyEntry = "entry";
|
||||
protected override View? SnackbarAnchorView => FindViewById(Resource.Id.main_content);
|
||||
|
||||
public const String KeyEntry = "entry";
|
||||
public const String KeyParent = "parent";
|
||||
public const String KeyTemplateUuid = "KeyTemplateUuid";
|
||||
|
||||
@@ -715,7 +715,7 @@ namespace keepass2android
|
||||
}
|
||||
catch(Exception exAttach)
|
||||
{
|
||||
Toast.MakeText(this, GetString(Resource.String.AttachFailed)+" "+exAttach.Message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.AttachFailed)+" "+ Util.GetErrorMessage(exAttach), MessageSeverity.Error);
|
||||
}
|
||||
State.EntryModified = true;
|
||||
PopulateBinaries();
|
||||
@@ -833,7 +833,7 @@ namespace keepass2android
|
||||
string s = Util.GetFilenameFromInternalFileChooser(data, this);
|
||||
if (s == null)
|
||||
{
|
||||
Toast.MakeText(this, "No URI retrieved.", ToastLength.Short).Show();
|
||||
App.Kp2a.ShowMessage(this, "No URI retrieved.", MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
uri = Uri.Parse(s);
|
||||
@@ -1139,7 +1139,7 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast.MakeText(this, "did not find target field", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "did not find target field", MessageSeverity.Error);
|
||||
}
|
||||
|
||||
|
||||
@@ -1158,7 +1158,8 @@ namespace keepass2android
|
||||
{
|
||||
if (GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable(this) != ConnectionResult.Success)
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.qr_scanning_error_no_google_play_services, ToastLength.Long);
|
||||
App.Kp2a.ShowMessage(this, Resource.String.qr_scanning_error_no_google_play_services,
|
||||
MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1178,12 +1179,12 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast.MakeText(this, "Scanned code should contain an otpauth:// text.", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "Scanned code should contain an otpauth:// text.", MessageSeverity.Warning);
|
||||
}
|
||||
}))
|
||||
.AddOnFailureListener(new FailureListener((e) =>
|
||||
{
|
||||
Console.WriteLine($"Scan failed: {e.Message}");
|
||||
Console.WriteLine($"Scan failed: {Util.GetErrorMessage(e)}");
|
||||
}));
|
||||
|
||||
|
||||
@@ -1503,7 +1504,7 @@ namespace keepass2android
|
||||
// Require title
|
||||
String title = Util.GetEditText(this, Resource.Id.entry_title);
|
||||
if ( title.Length == 0 ) {
|
||||
Toast.MakeText(this, Resource.String.error_title_required, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_title_required, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1513,7 +1514,7 @@ namespace keepass2android
|
||||
DateTime newExpiry = new DateTime();
|
||||
if ((State.Entry.Expires) && (!DateTime.TryParse( Util.GetEditText(this,Resource.Id.entry_expires), out newExpiry)))
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.error_invalid_expiry_date, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_invalid_expiry_date, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
State.Entry.ExpiryTime = newExpiry.ToUniversalTime();
|
||||
@@ -1527,13 +1528,13 @@ namespace keepass2android
|
||||
string key = keyView.Text;
|
||||
|
||||
if (String.IsNullOrEmpty(key)) {
|
||||
Toast.MakeText(this, Resource.String.error_string_key, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_string_key, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (allKeys.Contains(key))
|
||||
{
|
||||
Toast.MakeText(this, GetString(Resource.String.error_string_duplicate_key, new Object[]{key}), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.error_string_duplicate_key, new Object[]{key}), MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -29,9 +29,9 @@ namespace keepass2android
|
||||
var exportDb = new ExportDatabaseActivity.ExportDb(_activity, App.Kp2a, new ActionOnFinish(_activity, (success, message, activity) =>
|
||||
{
|
||||
if (!success)
|
||||
Toast.MakeText(activity, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, message, MessageSeverity.Error);
|
||||
else
|
||||
Toast.MakeText(activity, _activity.GetString(Resource.String.export_database_successful), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, _activity.GetString(Resource.String.export_database_successful), MessageSeverity.Info);
|
||||
activity.Finish();
|
||||
}
|
||||
), _ffp, ioc);
|
||||
@@ -140,7 +140,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Finish(false, ex.Message);
|
||||
Finish(false, Util.GetErrorMessage(ex));
|
||||
}
|
||||
|
||||
|
||||
|
@@ -107,7 +107,7 @@ namespace keepass2android
|
||||
{
|
||||
if (!success)
|
||||
{
|
||||
Toast.MakeText(activity, messageOrFilename, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, messageOrFilename, MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
SaveFile(new IOConnectionInfo { Path = FileSelectHelper.ConvertFilenameToIocPath(messageOrFilename) });
|
||||
|
@@ -115,6 +115,7 @@ namespace keepass2android
|
||||
string keyContent = keyContentTxt.Text;
|
||||
|
||||
string toastMsg = null;
|
||||
MessageSeverity severity = MessageSeverity.Info;
|
||||
if (!string.IsNullOrEmpty(keyName) && !string.IsNullOrEmpty(keyContent))
|
||||
{
|
||||
try
|
||||
@@ -127,8 +128,10 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
toastMsg = ctx.GetString(Resource.String.private_key_save_failed,
|
||||
new Java.Lang.Object[] { e.Message });
|
||||
}
|
||||
new Java.Lang.Object[] { Util.GetErrorMessage(e)});
|
||||
severity = MessageSeverity.Error;
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -136,7 +139,7 @@ namespace keepass2android
|
||||
}
|
||||
|
||||
if (toastMsg!= null) {
|
||||
Toast.MakeText(_activity, toastMsg, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(_activity, toastMsg, severity);
|
||||
}
|
||||
|
||||
UpdatePrivateKeyNames(keyNamesAdapter, fileStorage, ctx);
|
||||
@@ -153,7 +156,7 @@ namespace keepass2android
|
||||
|
||||
int msgId = deleted ? Resource.String.private_key_delete : Resource.String.private_key_delete_failed;
|
||||
string msg = ctx.GetString(msgId, new Java.Lang.Object[] { keyName });
|
||||
Toast.MakeText(_activity, msg, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(_activity, msg, deleted ? MessageSeverity.Info :MessageSeverity.Error);
|
||||
|
||||
UpdatePrivateKeyNames(keyNamesAdapter, fileStorage, ctx);
|
||||
keySpinner.SetSelection(SftpKeySpinnerCreateNewIdx);
|
||||
@@ -581,9 +584,9 @@ namespace keepass2android
|
||||
// Make sure file name exists
|
||||
if (filename.Length == 0)
|
||||
{
|
||||
Toast.MakeText(_activity,
|
||||
App.Kp2a.ShowMessage(_activity,
|
||||
Resource.String.error_filename_required,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -604,9 +607,9 @@ namespace keepass2android
|
||||
}
|
||||
catch (NoFileStorageFoundException)
|
||||
{
|
||||
Toast.MakeText(_activity,
|
||||
App.Kp2a.ShowMessage(_activity,
|
||||
"Unexpected scheme in "+filename,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -620,9 +623,9 @@ namespace keepass2android
|
||||
|
||||
if (parent == null || (parent.Exists() && !parent.IsDirectory))
|
||||
{
|
||||
Toast.MakeText(_activity,
|
||||
App.Kp2a.ShowMessage(_activity,
|
||||
Resource.String.error_invalid_path,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -631,9 +634,9 @@ namespace keepass2android
|
||||
// Create parent dircetory
|
||||
if (!parent.Mkdirs())
|
||||
{
|
||||
Toast.MakeText(_activity,
|
||||
App.Kp2a.ShowMessage(_activity,
|
||||
Resource.String.error_could_not_create_parent,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return false;
|
||||
|
||||
}
|
||||
@@ -643,11 +646,11 @@ namespace keepass2android
|
||||
}
|
||||
catch (Java.IO.IOException ex)
|
||||
{
|
||||
Toast.MakeText(
|
||||
App.Kp2a.ShowMessage(
|
||||
_activity,
|
||||
_activity.GetText(Resource.String.error_file_not_create) + " "
|
||||
+ ex.LocalizedMessage,
|
||||
ToastLength.Long).Show();
|
||||
MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -700,7 +703,7 @@ namespace keepass2android
|
||||
_activity.StartActivityForResult(i, _requestCode);
|
||||
|
||||
#else
|
||||
Toast.MakeText(LocaleManager.LocalizedAppContext, "File chooser is excluded!", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(LocaleManager.LocalizedAppContext, "File chooser is excluded!", MessageSeverity.Error);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
@@ -782,7 +785,7 @@ namespace keepass2android
|
||||
{
|
||||
if (!success)
|
||||
{
|
||||
Toast.MakeText(newActivity, messageOrFilename, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(newActivity, messageOrFilename, MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
var ioc = new IOConnectionInfo { Path = ConvertFilenameToIocPath(messageOrFilename) };
|
||||
|
@@ -251,7 +251,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
CheckCurrentRadioButton();
|
||||
Toast.MakeText(this, e.ToString(), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, e.ToString(), MessageSeverity.Error);
|
||||
FindViewById(Resource.Id.radio_buttons).Visibility = ViewStates.Visible;
|
||||
FindViewById(Resource.Id.fingerprint_auth_container).Visibility = ViewStates.Gone;
|
||||
}
|
||||
|
@@ -543,7 +543,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Toast.MakeText(this, e.Message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Util.GetErrorMessage(e), MessageSeverity.Error);
|
||||
}
|
||||
|
||||
return password;
|
||||
|
@@ -56,6 +56,8 @@ namespace keepass2android
|
||||
|
||||
public const int RequestCodeActivateRealSearch = 12366;
|
||||
|
||||
protected override View? SnackbarAnchorView => FindViewById(Resource.Id.main_content);
|
||||
|
||||
static readonly Dictionary<int /*resource id*/, int /*prio*/> bottomBarElementsPriority = new Dictionary<int, int>()
|
||||
{
|
||||
{ Resource.Id.cancel_insert_element, 20 },
|
||||
@@ -927,7 +929,7 @@ namespace keepass2android
|
||||
{
|
||||
((GroupBaseActivity)activity)?.StopMovingElements();
|
||||
if (!String.IsNullOrEmpty(message))
|
||||
Toast.MakeText(activity, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, message, MessageSeverity.Error);
|
||||
}));
|
||||
var progressTask = new ProgressTask(App.Kp2a, this, moveElement);
|
||||
progressTask.Run();
|
||||
@@ -1328,7 +1330,7 @@ namespace keepass2android
|
||||
{
|
||||
Handler.Post(() =>
|
||||
{
|
||||
Toast.MakeText(ActiveActivity ?? LocaleManager.LocalizedAppContext, "Unrecoverable error: " + Message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(ActiveActivity ?? LocaleManager.LocalizedAppContext, "Unrecoverable error: " + Message, MessageSeverity.Error);
|
||||
});
|
||||
|
||||
App.Kp2a.Lock(false);
|
||||
|
@@ -111,9 +111,10 @@ namespace keepass2android
|
||||
SetResult (Result.Ok, intent);
|
||||
|
||||
Finish ();
|
||||
} else {
|
||||
Toast.MakeText (this, Resource.String.error_no_name, ToastLength.Long).Show ();
|
||||
}
|
||||
} else
|
||||
{
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_no_name, MessageSeverity.Error);
|
||||
}
|
||||
};
|
||||
|
||||
if (Intent.HasExtra(KeyGroupUuid))
|
||||
|
@@ -185,48 +185,56 @@ namespace keepass2android
|
||||
|
||||
public override View GetView(int position, View convertView, ViewGroup parent)
|
||||
{
|
||||
View currView;
|
||||
if(convertView == null)
|
||||
{
|
||||
LayoutInflater li = (LayoutInflater) _act.GetSystemService(LayoutInflaterService);
|
||||
currView = li.Inflate(Resource.Layout.icon, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
currView = convertView;
|
||||
}
|
||||
TextView tv = (TextView) currView.FindViewById(Resource.Id.icon_text);
|
||||
ImageView iv = (ImageView) currView.FindViewById(Resource.Id.icon_image);
|
||||
|
||||
if (position < (int)PwIcon.Count)
|
||||
{
|
||||
tv.Text = "" + position;
|
||||
var drawable = App.Kp2a.CurrentDb .DrawableFactory.GetIconDrawable(_act, App.Kp2a.CurrentDb.KpDatabase, (KeePassLib.PwIcon) position, null, false);
|
||||
drawable = new BitmapDrawable(Util.DrawableToBitmap(drawable));
|
||||
iv.SetImageDrawable(drawable);
|
||||
//App.Kp2a.GetDb().DrawableFactory.AssignDrawableTo(iv, _act, App.Kp2a.GetDb().KpDatabase, (KeePassLib.PwIcon) position, null, false);
|
||||
try
|
||||
{
|
||||
View currView;
|
||||
if (convertView == null)
|
||||
{
|
||||
LayoutInflater li = (LayoutInflater)_act.GetSystemService(LayoutInflaterService);
|
||||
currView = li.Inflate(Resource.Layout.icon, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
currView = convertView;
|
||||
}
|
||||
TextView tv = (TextView)currView.FindViewById(Resource.Id.icon_text);
|
||||
ImageView iv = (ImageView)currView.FindViewById(Resource.Id.icon_image);
|
||||
|
||||
if (
|
||||
PreferenceManager.GetDefaultSharedPreferences(currView.Context)
|
||||
.GetString("IconSetKey", currView.Context.PackageName) == currView.Context.PackageName)
|
||||
{
|
||||
Android.Graphics.PorterDuff.Mode mMode = Android.Graphics.PorterDuff.Mode.SrcAtop;
|
||||
Color color = new Color(189, 189, 189);
|
||||
iv.SetColorFilter(color, mMode);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = position - (int)PwIcon.Count;
|
||||
var icon = _db.CustomIcons[pos];
|
||||
tv.Text = pos.ToString();
|
||||
iv.SetColorFilter(null);
|
||||
iv.SetImageBitmap(icon.Image);
|
||||
|
||||
}
|
||||
if (position < (int)PwIcon.Count)
|
||||
{
|
||||
tv.Text = "" + position;
|
||||
var drawable = App.Kp2a.CurrentDb.DrawableFactory.GetIconDrawable(_act, App.Kp2a.CurrentDb.KpDatabase, (KeePassLib.PwIcon)position, null, false);
|
||||
drawable = new BitmapDrawable(Util.DrawableToBitmap(drawable));
|
||||
iv.SetImageDrawable(drawable);
|
||||
//App.Kp2a.GetDb().DrawableFactory.AssignDrawableTo(iv, _act, App.Kp2a.GetDb().KpDatabase, (KeePassLib.PwIcon) position, null, false);
|
||||
|
||||
return currView;
|
||||
if (PreferenceManager.GetDefaultSharedPreferences(currView.Context)
|
||||
.GetString("IconSetKey", currView.Context.PackageName) == currView.Context.PackageName)
|
||||
{
|
||||
Android.Graphics.PorterDuff.Mode mMode = Android.Graphics.PorterDuff.Mode.SrcAtop;
|
||||
Color color = new Color(189, 189, 189);
|
||||
iv.SetColorFilter(color, mMode);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = position - (int)PwIcon.Count;
|
||||
var icon = _db.CustomIcons[pos];
|
||||
tv.Text = pos.ToString();
|
||||
iv.SetColorFilter(null);
|
||||
iv.SetImageBitmap(icon.Image);
|
||||
|
||||
}
|
||||
|
||||
return currView;
|
||||
}
|
||||
catch (System.Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public bool IsCustomIcon(int position)
|
||||
|
@@ -316,7 +316,7 @@ namespace keepass2android
|
||||
try { ck.AddUserKey(new KcpKeyFile(strAbs)); }
|
||||
catch (InvalidOperationException)
|
||||
{
|
||||
Toast.MakeText(LocaleManager.LocalizedAppContext,Resource.String.error_adding_keyfile,ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(LocaleManager.LocalizedAppContext,Resource.String.error_adding_keyfile, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
catch (Exception) { throw; }
|
||||
|
@@ -146,7 +146,16 @@ namespace KeeChallenge
|
||||
{
|
||||
using (CryptoStream csDecrypt = (CryptoStream)aes.DecryptStream(msDecrypt, key, inf.IV))
|
||||
{
|
||||
csDecrypt.Read(secret, 0, secret.Length);
|
||||
//read the secret from the stream
|
||||
int totalBytesRead = 0;
|
||||
|
||||
int bytesRead = csDecrypt.Read(secret, totalBytesRead, secret.Length - totalBytesRead);
|
||||
while (bytesRead > 0 && totalBytesRead < secret.Length)
|
||||
{
|
||||
totalBytesRead += bytesRead;
|
||||
bytesRead = csDecrypt.Read(secret, totalBytesRead, secret.Length - totalBytesRead);
|
||||
}
|
||||
|
||||
csDecrypt.Close();
|
||||
}
|
||||
msDecrypt.Close();
|
||||
|
@@ -21,8 +21,10 @@ using Android.App;
|
||||
using Android.Content;
|
||||
using Android.Content.PM;
|
||||
using Android.Runtime;
|
||||
using Android.Views;
|
||||
using Google.Android.Material.Dialog;
|
||||
using keepass2android;
|
||||
using keepass2android.Utils;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -76,19 +78,34 @@ namespace keepass2android
|
||||
base.OnPause();
|
||||
|
||||
TimeoutHelper.Pause(this);
|
||||
}
|
||||
App.Kp2a.MessagePresenter = new NonePresenter();
|
||||
}
|
||||
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
protected override void OnResume() {
|
||||
base.OnResume();
|
||||
|
||||
TimeoutHelper.Resume(this);
|
||||
}
|
||||
|
||||
protected override void OnResume()
|
||||
{
|
||||
base.OnResume();
|
||||
|
||||
TimeoutHelper.Resume(this);
|
||||
var snackbarAnchorView = SnackbarAnchorView;
|
||||
if (snackbarAnchorView != null)
|
||||
{
|
||||
App.Kp2a.MessagePresenter = new ChainedSnackbarPresenter(snackbarAnchorView);
|
||||
}
|
||||
else
|
||||
{
|
||||
App.Kp2a.MessagePresenter = new ToastPresenter();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected virtual View? SnackbarAnchorView => null;
|
||||
|
||||
|
||||
public const int RequestCodeChallengeYubikey = 793;
|
||||
|
||||
|
@@ -47,8 +47,8 @@
|
||||
<permission android:description="@string/permission_desc2" android:icon="@drawable/ic_notify_locked" android:label="KP2A entry search" android:name="keepass2android.keepass2android_debug.permission.KP2aInternalSearch" android:protectionLevel="signature" />
|
||||
<permission android:description="@string/permission_desc3" android:icon="@drawable/ic_launcher" android:label="KP2A choose autofill dataset" android:name="keepass2android.keepass2android_debug.permission.Kp2aChooseAutofill" android:protectionLevel="signature" />
|
||||
<application
|
||||
android:icon="@mipmap/ic_launcher_online"
|
||||
android:roundIcon="@mipmap/ic_launcher_online_round"
|
||||
android:icon="@mipmap/ic_launcher_debug"
|
||||
android:roundIcon="@mipmap/ic_launcher_debug_round"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
>
|
||||
<meta-data
|
||||
@@ -243,6 +243,15 @@ The scheme=file is still there for old OS devices. It's also queried by apps lik
|
||||
<action android:name="keepass2android.ACTION_START_WITH_TASK" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="otpauth"/>
|
||||
<data android:host="totp"/>
|
||||
<data android:host="hotp"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow" />
|
||||
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="202"
|
||||
android:versionName="1.12-r1"
|
||||
android:versionCode="206"
|
||||
android:versionName="1.12-r5"
|
||||
package="keepass2android.keepass2android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:installLocation="auto">
|
||||
@@ -255,7 +255,14 @@ The scheme=file is still there for old OS devices. It's also queried by apps lik
|
||||
<action android:name="keepass2android.ACTION_START_WITH_TASK" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
x
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="otpauth"/>
|
||||
<data android:host="totp"/>
|
||||
<data android:host="hotp"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow" />
|
||||
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
|
||||
|
@@ -236,6 +236,14 @@ The scheme=file is still there for old OS devices. It's also queried by apps lik
|
||||
<action android:name="keepass2android.ACTION_START_WITH_TASK" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="otpauth"/>
|
||||
<data android:host="totp"/>
|
||||
<data android:host="hotp"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow" />
|
||||
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
|
||||
|
@@ -145,7 +145,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
Toast.MakeText(this, "No Yubikey OTP found!", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "No Yubikey OTP found!", MessageSeverity.Error);
|
||||
Finish();
|
||||
return;
|
||||
}
|
||||
|
@@ -48,11 +48,6 @@ namespace keepass2android
|
||||
Finish();
|
||||
};
|
||||
|
||||
var toolbar = FindViewById<AndroidX.AppCompat.Widget.Toolbar>(Resource.Id.mytoolbar);
|
||||
|
||||
SetSupportActionBar(toolbar);
|
||||
|
||||
SupportActionBar.Title = AppNames.AppName;
|
||||
}
|
||||
|
||||
protected override void OnResume()
|
||||
|
24
src/keepass2android-app/NullActivity.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Android.Content.PM;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
[Activity(Label = AppNames.AppName,
|
||||
MainLauncher = false,
|
||||
Theme = "@style/Kp2aTheme_BlueNoActionBar",
|
||||
Exported = true)]
|
||||
///For autofill, we sometimes need to pass an intent to an inline presentation which never gets fired. We use this as a dummy activity.
|
||||
public class NullActivity: Activity
|
||||
{
|
||||
protected override void OnCreate(Bundle savedInstanceState)
|
||||
{
|
||||
Kp2aLog.Log("NullActivity.OnCreate - this is unexpected.");
|
||||
base.OnCreate(savedInstanceState);
|
||||
Finish();
|
||||
}
|
||||
}
|
||||
}
|
@@ -66,6 +66,7 @@ using Exception = System.Exception;
|
||||
using String = System.String;
|
||||
using Toolbar = AndroidX.AppCompat.Widget.Toolbar;
|
||||
using AndroidX.Core.Content;
|
||||
using Google.Android.Material.Snackbar;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -309,7 +310,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.Log(e.ToString());
|
||||
Toast.MakeText(this, "Error: " + e.Message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "Error: " + Util.GetErrorMessage(e), MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -328,8 +329,7 @@ namespace keepass2android
|
||||
ChallengeInfo temp = _challengeProv.Encrypt(_challengeSecret);
|
||||
if (!temp.Save(_otpAuxIoc))
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.ErrorUpdatingChalAuxFile, ToastLength.Long)
|
||||
.Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.ErrorUpdatingChalAuxFile, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.bad_resp, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.bad_resp, MessageSeverity.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -458,7 +458,7 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast.MakeText(Activity,GetErrorMessage(), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Activity,GetErrorMessage(), MessageSeverity.Error);
|
||||
}
|
||||
return;
|
||||
|
||||
@@ -957,7 +957,7 @@ namespace keepass2android
|
||||
{
|
||||
btn.SetImageResource(Resource.Drawable.baseline_fingerprint_24);
|
||||
}, 1300);
|
||||
Toast.MakeText(this, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, message, MessageSeverity.Error);
|
||||
}
|
||||
|
||||
public void OnBiometricAttemptFailed(string message)
|
||||
@@ -996,8 +996,12 @@ namespace keepass2android
|
||||
|
||||
btn.PostDelayed(() =>
|
||||
{
|
||||
//fire
|
||||
OnOk(true);
|
||||
//fire if everything else is ready
|
||||
if (FindViewById(Resource.Id.pass_ok).Enabled)
|
||||
{
|
||||
OnOk(true);
|
||||
}
|
||||
|
||||
FindViewById<EditText>(Resource.Id.password_edit).Enabled = true;
|
||||
}, 500);
|
||||
|
||||
@@ -1036,7 +1040,7 @@ namespace keepass2android
|
||||
if (_appnameclickCount == 6)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(new Exception("some blabla"));
|
||||
Toast.MakeText(this, "Once again and the app will crash.", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "Once again and the app will crash.", MessageSeverity.Warning);
|
||||
}
|
||||
|
||||
if (_appnameclickCount == 7)
|
||||
@@ -1123,7 +1127,7 @@ namespace keepass2android
|
||||
//For security reasons: discard the OTP (otherwise the user might not select a database now and forget
|
||||
//about the OTP, but it would still be stored in the Intents and later be passed to PasswordActivity again.
|
||||
|
||||
Toast.MakeText(this, GetString(Resource.String.otp_discarded_because_no_db), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.otp_discarded_because_no_db), MessageSeverity.Warning);
|
||||
GoToFileSelectActivity();
|
||||
return false;
|
||||
}
|
||||
@@ -1400,7 +1404,7 @@ namespace keepass2android
|
||||
string errorMessage;
|
||||
if (!CreateCompositeKey(out compositeKey, out errorMessage)) return (() =>
|
||||
{
|
||||
Toast.MakeText(this, errorMessage, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, errorMessage, MessageSeverity.Warning);
|
||||
_performingLoad = false;
|
||||
});
|
||||
return () => { PerformLoadDatabaseWithCompositeKey(compositeKey); };
|
||||
@@ -1481,7 +1485,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
errorMessage = e.Message;
|
||||
errorMessage = Util.GetErrorMessage(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -1668,7 +1672,7 @@ namespace keepass2android
|
||||
//did we find a field?
|
||||
if (!foundEmptyField)
|
||||
{
|
||||
Toast.MakeText(this, GetString(Resource.String.otp_discarded_no_space), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.otp_discarded_no_space), MessageSeverity.Error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1729,80 +1733,128 @@ namespace keepass2android
|
||||
UsedFingerprintUnlock = false;
|
||||
}
|
||||
|
||||
protected override View? SnackbarAnchorView => FindViewById(Resource.Id.main_content);
|
||||
|
||||
protected override void OnResume()
|
||||
{
|
||||
base.OnResume();
|
||||
_activityDesign.ReapplyTheme();
|
||||
{
|
||||
base.OnResume();
|
||||
|
||||
_activityDesign.ReapplyTheme();
|
||||
|
||||
Kp2aLog.Log("starting: " + _starting + ", Finishing: " + IsFinishing + ", _performingLoad: " + _performingLoad);
|
||||
Kp2aLog.Log("starting: " + _starting + ", Finishing: " + IsFinishing + ", _performingLoad: " +
|
||||
_performingLoad);
|
||||
|
||||
CheckBox cbOfflineMode = (CheckBox)FindViewById(Resource.Id.work_offline);
|
||||
App.Kp2a.OfflineMode = cbOfflineMode.Checked = App.Kp2a.OfflineModePreference; //this won't overwrite new user settings because every change is directly saved in settings
|
||||
LinearLayout offlineModeContainer = FindViewById<LinearLayout>(Resource.Id.work_offline_container);
|
||||
var cachingFileStorage = App.Kp2a.GetFileStorage(_ioConnection) as CachingFileStorage;
|
||||
if ((cachingFileStorage != null) && cachingFileStorage.IsCached(_ioConnection))
|
||||
{
|
||||
offlineModeContainer.Visibility = ViewStates.Visible;
|
||||
}
|
||||
else
|
||||
{
|
||||
offlineModeContainer.Visibility = ViewStates.Gone;
|
||||
App.Kp2a.OfflineMode = false;
|
||||
}
|
||||
|
||||
CheckBox cbOfflineMode = (CheckBox)FindViewById(Resource.Id.work_offline);
|
||||
App.Kp2a.OfflineMode =
|
||||
cbOfflineMode.Checked =
|
||||
App.Kp2a
|
||||
.OfflineModePreference; //this won't overwrite new user settings because every change is directly saved in settings
|
||||
LinearLayout offlineModeContainer = FindViewById<LinearLayout>(Resource.Id.work_offline_container);
|
||||
var cachingFileStorage = App.Kp2a.GetFileStorage(_ioConnection) as CachingFileStorage;
|
||||
if ((cachingFileStorage != null) && cachingFileStorage.IsCached(_ioConnection))
|
||||
{
|
||||
offlineModeContainer.Visibility = ViewStates.Visible;
|
||||
}
|
||||
else
|
||||
{
|
||||
offlineModeContainer.Visibility = ViewStates.Gone;
|
||||
App.Kp2a.OfflineMode = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
View killButton = FindViewById(Resource.Id.kill_app);
|
||||
if (PreferenceManager.GetDefaultSharedPreferences(this)
|
||||
.GetBoolean(GetString(Resource.String.show_kill_app_key), false))
|
||||
{
|
||||
killButton.Click += (sender, args) =>
|
||||
{
|
||||
_killOnDestroy = true;
|
||||
|
||||
|
||||
View killButton = FindViewById(Resource.Id.kill_app);
|
||||
if (PreferenceManager.GetDefaultSharedPreferences(this)
|
||||
.GetBoolean(GetString(Resource.String.show_kill_app_key), false))
|
||||
{
|
||||
killButton.Click += (sender, args) =>
|
||||
{
|
||||
_killOnDestroy = true;
|
||||
SetResult(Result.Canceled);
|
||||
Finish();
|
||||
Finish();
|
||||
|
||||
};
|
||||
killButton.Visibility = ViewStates.Visible;
|
||||
};
|
||||
killButton.Visibility = ViewStates.Visible;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
killButton.Visibility = ViewStates.Gone;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
killButton.Visibility = ViewStates.Gone;
|
||||
}
|
||||
|
||||
TryGetOtpFromClipboard();
|
||||
TryGetOtpFromClipboard();
|
||||
|
||||
if (!_keepPasswordInOnResume)
|
||||
{
|
||||
if (
|
||||
_lastOnPauseTime < DateTime.Now - TimeSpan.FromSeconds(5) //only clear when user left the app for more than 5 seconds (allows to use Yubiclip, also allows to switch shortly to another app)
|
||||
&&
|
||||
PreferenceManager.GetDefaultSharedPreferences(this)
|
||||
.GetBoolean(GetString(Resource.String.ClearPasswordOnLeave_key), true))
|
||||
{
|
||||
ClearEnteredPassword();
|
||||
}
|
||||
if (!_keepPasswordInOnResume)
|
||||
{
|
||||
if (
|
||||
_lastOnPauseTime <
|
||||
DateTime.Now -
|
||||
TimeSpan.FromSeconds(
|
||||
5) //only clear when user left the app for more than 5 seconds (allows to use Yubiclip, also allows to switch shortly to another app)
|
||||
&&
|
||||
PreferenceManager.GetDefaultSharedPreferences(this)
|
||||
.GetBoolean(GetString(Resource.String.ClearPasswordOnLeave_key), true))
|
||||
{
|
||||
ClearEnteredPassword();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
_keepPasswordInOnResume = false;
|
||||
_keepPasswordInOnResume = false;
|
||||
|
||||
MakePasswordMaskedOrVisible();
|
||||
MakePasswordMaskedOrVisible();
|
||||
|
||||
UpdateOkButtonState();
|
||||
UpdateOkButtonState();
|
||||
|
||||
if (KeyProviderTypes.Contains(KeyProviders.Challenge))
|
||||
{
|
||||
FindViewById(Resource.Id.otpInitView).Visibility = _challengeSecret == null ? ViewStates.Visible : ViewStates.Gone;
|
||||
}
|
||||
if (KeyProviderTypes.Contains(KeyProviders.Challenge))
|
||||
{
|
||||
FindViewById(Resource.Id.otpInitView).Visibility =
|
||||
_challengeSecret == null ? ViewStates.Visible : ViewStates.Gone;
|
||||
}
|
||||
/*
|
||||
Snackbar snackbar = Snackbar
|
||||
.Make(FindViewById(Resource.Id.main_content),
|
||||
"snack snack snack snack snack snack snack snack snack snack snack snack snack snack snacksnack snack snacksnack snack snacksnack snack snack snack snack snack snack snack snack snack snack snack snack snack snack snacksnack snack snacksnack snack snacksnack snack snack snack snack snacksnack snack snack ",
|
||||
Snackbar.LengthLong);
|
||||
snackbar.SetTextMaxLines(5);
|
||||
snackbar.SetBackgroundTint(GetColor(Resource.Color.md_theme_secondaryContainer));
|
||||
snackbar.SetTextColor(GetColor(Resource.Color.md_theme_onSecondaryContainer));
|
||||
snackbar.SetAction("dismiss",
|
||||
view => snackbar.SetBackgroundTint(GetColor(Resource.Color.md_theme_surfaceContainer)));
|
||||
|
||||
//use !IsFinishing to make sure we're not starting another activity when we're already finishing (e.g. due to TaskComplete in OnActivityResult)
|
||||
//use !performingLoad to make sure we're not already loading the database (after ActivityResult from File-Prepare-Activity; this would cause _loadDbFileTask to exist when we reload later!)
|
||||
if ( !IsFinishing && !_performingLoad)
|
||||
snackbar.Show();
|
||||
|
||||
new Handler().PostDelayed(() =>
|
||||
{
|
||||
|
||||
Snackbar snackbar2 = Snackbar
|
||||
.Make(FindViewById(Resource.Id.main_content), "snack snack snack ",
|
||||
Snackbar.LengthLong);
|
||||
snackbar2.SetTextMaxLines(5);
|
||||
snackbar2.SetBackgroundTint(GetColor(Resource.Color.md_theme_errorContainer));
|
||||
snackbar2.SetTextColor(GetColor(Resource.Color.md_theme_onErrorContainer));
|
||||
snackbar2.Show();
|
||||
}, 1500);
|
||||
|
||||
|
||||
new Handler().PostDelayed(() =>
|
||||
{
|
||||
|
||||
Snackbar snackbar2 = Snackbar
|
||||
.Make(FindViewById(Resource.Id.main_content), "snack snack warn ",
|
||||
Snackbar.LengthLong);
|
||||
snackbar2.SetTextMaxLines(5);
|
||||
snackbar2.SetBackgroundTint(GetColor(Resource.Color.md_theme_inverseSurface));
|
||||
snackbar2.SetTextColor(GetColor(Resource.Color.md_theme_inverseOnSurface));
|
||||
snackbar2.Show();
|
||||
}, 2500);*/
|
||||
|
||||
//use !IsFinishing to make sure we're not starting another activity when we're already finishing (e.g. due to TaskComplete in OnActivityResult)
|
||||
//use !performingLoad to make sure we're not already loading the database (after ActivityResult from File-Prepare-Activity; this would cause _loadDbFileTask to exist when we reload later!)
|
||||
if ( !IsFinishing && !_performingLoad)
|
||||
{
|
||||
|
||||
|
||||
@@ -1954,7 +2006,7 @@ namespace keepass2android
|
||||
|
||||
btn.Tag = error;
|
||||
|
||||
Toast.MakeText(this, Resource.String.fingerprint_reenable2, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.fingerprint_reenable2, MessageSeverity.Error);
|
||||
|
||||
_biometricDec = null;
|
||||
return false;
|
||||
@@ -2024,7 +2076,7 @@ namespace keepass2android
|
||||
/*
|
||||
private void errorMessage(CharSequence text)
|
||||
{
|
||||
Toast.MakeText(this, text, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, text, MessageSeverity.Error);
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -2084,7 +2136,9 @@ namespace keepass2android
|
||||
_act.LoadingErrorCount++;
|
||||
}
|
||||
|
||||
if ((Exception != null) && (Exception.Message == KeePassLib.Resources.KLRes.FileCorrupted))
|
||||
|
||||
|
||||
if ((Exception != null) && (Exception.Message == KeePassLib.Resources.KLRes.FileCorrupted))
|
||||
{
|
||||
Message = _act.GetString(Resource.String.CorruptDatabaseHelp);
|
||||
}
|
||||
@@ -2150,7 +2204,8 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
DisplayMessage(_act);
|
||||
MessageSeverity severity = Success ? MessageSeverity.Info : MessageSeverity.Error;
|
||||
App.Kp2a.ShowMessage(_act, Message, severity);
|
||||
if (Success)
|
||||
{
|
||||
_act.LaunchNextActivity();
|
||||
@@ -2218,7 +2273,7 @@ namespace keepass2android
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
|
||||
ShowError( _act.GetString(Resource.String.ErrorUpdatingOtpAuxFile) + " " + e.Message);
|
||||
ShowError( _act.GetString(Resource.String.ErrorUpdatingOtpAuxFile) + " " + Util.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
|
||||
@@ -2234,7 +2289,7 @@ namespace keepass2android
|
||||
|
||||
private void ShowError(string message)
|
||||
{
|
||||
App.Kp2a.ShowToast(message);
|
||||
App.Kp2a.ShowToast(message, MessageSeverity.Error);
|
||||
}
|
||||
}
|
||||
private class PasswordActivityBroadcastReceiver : BroadcastReceiver
|
||||
|
@@ -128,11 +128,11 @@ namespace keepass2android
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
}
|
||||
if (String.IsNullOrEmpty(_requestedUrl))
|
||||
Toast.MakeText(this, GetString(Resource.String.query_credentials, new Java.Lang.Object[] {pluginDisplayName}), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.query_credentials, new Java.Lang.Object[] {pluginDisplayName}), MessageSeverity.Info);
|
||||
else
|
||||
Toast.MakeText(this,
|
||||
App.Kp2a.ShowMessage(this,
|
||||
GetString(Resource.String.query_credentials_for_url,
|
||||
new Java.Lang.Object[] { pluginDisplayName, _requestedUrl }), ToastLength.Long).Show(); ;
|
||||
new Java.Lang.Object[] { pluginDisplayName, _requestedUrl }), MessageSeverity.Info); ;
|
||||
}
|
||||
|
||||
private void StartQuery()
|
||||
|
@@ -35,6 +35,7 @@ using KeePassLib;
|
||||
using KeePassLib.Serialization;
|
||||
using Toolbar = AndroidX.AppCompat.Widget.Toolbar;
|
||||
using AndroidX.Core.Content;
|
||||
using keepass2android.Utils;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -203,7 +204,7 @@ namespace keepass2android
|
||||
btn.SetImageResource(Resource.Drawable.baseline_fingerprint_24);
|
||||
|
||||
}, 1300);
|
||||
Toast.MakeText(this, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, message, MessageSeverity.Error);
|
||||
}
|
||||
|
||||
|
||||
@@ -325,7 +326,7 @@ namespace keepass2android
|
||||
{
|
||||
Kp2aLog.Log("QuickUnlock not successful!");
|
||||
App.Kp2a.Lock(false);
|
||||
Toast.MakeText(this, GetString(Resource.String.QuickUnlock_fail), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.QuickUnlock_fail), MessageSeverity.Error);
|
||||
Finish();
|
||||
}
|
||||
|
||||
@@ -383,8 +384,9 @@ namespace keepass2android
|
||||
{
|
||||
base.OnResume();
|
||||
_design.ReapplyTheme();
|
||||
|
||||
CheckIfUnloaded();
|
||||
App.Kp2a.MessagePresenter = new ChainedSnackbarPresenter(FindViewById(Resource.Id.main_content));
|
||||
|
||||
CheckIfUnloaded();
|
||||
|
||||
InitFingerprintUnlock();
|
||||
|
||||
@@ -449,7 +451,8 @@ namespace keepass2android
|
||||
|
||||
protected override void OnPause()
|
||||
{
|
||||
if (_biometryIdentifier != null)
|
||||
App.Kp2a.MessagePresenter = new NonePresenter();
|
||||
if (_biometryIdentifier != null)
|
||||
{
|
||||
Kp2aLog.Log("FP: Stop listening");
|
||||
_biometryIdentifier.StopListening();
|
||||
|
@@ -1,5 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/main_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<ScrollView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/entry_scroll"
|
||||
android:background="?android:attr/colorBackground"
|
||||
@@ -267,4 +273,5 @@
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</ScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 20 KiB |
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (KP2A složka)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Pokud nechcete, aby měl KP2A plný přístup k vašemu Dropbox účtu, může vybrat tuto možnost. Bude vyžadován pouze přístup ke složce Apps/Keepass2Android. Toto je vhodné zejména při vytváření nové databáze. Pokud již máte databázi, zvolte na tuto možnost pro vytvoření složky, poté umístěte soubor (z PC) do této složky a zvolte tuto možnost znovu pro otevření souboru.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Upozornění: Společnost Google omezuje přístup k Disku Google z aplikací pro stále více uživatelů. Pokud vestavěná implementace Disku Google nefunguje, použijte místo toho systémový výběr souborů a vyberte Disk Google tam!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (KP2A soubory)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Nechcete-li dát aplikaci KeePass2Android přístup k celému vašemu Google Drive, použijte tuto možnost. Upozorňujeme, že nejprve musíte vytvořit soubor s databází položek, existující soubory nejsou viditelné pro aplikaci. Toto můžete udělat z obrazovky Vytvořit databázi, nebo exportem právě otevřené databáze, volbou této možnosti</string>
|
||||
<string name="filestoragename_pcloud">PCloud (složka KP2A)</string>
|
||||
@@ -717,6 +718,20 @@
|
||||
<string name="EntryChannel_desc">Upozornění pro usnadnění přístupu k momentálně zvolené položce.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Zavřít databázi po třech neúspěšných pokusech o odemknutí.</string>
|
||||
<string name="WarnFingerprintInvalidated">Varování! Biometrické ověření může být zneplatněno Androidem, např. po přidání nového otisku prstu do nastavení zařízení. Ujistěte se, že vždy víte, jak odemknout pomocí hlavního hesla!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Aktualizováno z Xamarin Android na .net 8</item>
|
||||
<item>Aktualizováno na Target SDK 34</item>
|
||||
<item>Aktualizováno na uživatelské rozhraní Material 3</item>
|
||||
<item>Vylepšení automatického vyplňování pro práci s aplikacemi Compose</item>
|
||||
<item>Oprava přiřazování názvů hostitelů v automatickém vyplňování a vyhledávání</item>
|
||||
<item>Oprava problému s generátorem hesel</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Aktualizováno OneDrive SDK na verzi 5.68</item>
|
||||
<item>Aktualizováno Dropbox SDK na verzi 7.0.0</item>
|
||||
<item>Aktualizován Gradle, NewtonsoftJson, FluentFTP, MegaApiClient a okhttp</item>
|
||||
<item>Oprava chyby ve výběru souborů WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Přidána plovoucí akční tlačítka pro vyhledávání a přehled TOTP (pokud jsou přítomny položky TOTP).</item>
|
||||
<item>Vylepšeno zobrazení polí TOTP přidáním indikátoru časového limitu a jeho výraznějším zobrazením.</item>
|
||||
@@ -1150,5 +1165,8 @@ První veřejné vydání
|
||||
<string name="AutofillWarning_Intro">Chystáte se vložit přihlašovací údaje pro doménu \"%1$s\" do aplikace \"%2$s\".</string>
|
||||
<string name="AutofillWarning_FillDomainInUntrustedApp">Pokud věříte že \"%2$s\" patří k \"%1$s\", nebo důvěřujete \"%2$s\" že nezneužije přihlašovací údaje (např. pokud se jedná o důvěryhodný prohlížeč), můžete pokračovat. Pokud tomu tak není, zrušte prosím tuto akci.</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Přijmout vždy v \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Přepnout zpět po dokončení</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Přepnout zpět při stisknutí tlačítka odeslat/pokračovat/ukončit</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">Skenování QR kódu vyžaduje služby Google Play. Nainstalujte nebo aktualizujte služby Google Play ve svém zařízení.</string>
|
||||
<string name="english_ime_settings">Nastavení klávesnice Keepass2Android</string>
|
||||
</resources>
|
||||
|
@@ -642,7 +642,7 @@ Der Android Robot wird genutzt und wurde modifiziert basierend auf Arbeiten, die
|
||||
<string name="FileReadOnlyTitle">Datenbank ist schreibgeschützt</string>
|
||||
<string name="FileReadOnlyMessagePre">Keepass2Android hat die aktuelle Datenbank im schreibgeschützten Modus geöffnet.</string>
|
||||
<string name="ReadOnlyReason_PreKitKat">Es scheint, dass die Datei von einer externen Anwendung aus geöffnet wurde. Über diesen Weg ist das Schreiben nicht möglich. Wenn Änderungen an der Datenbank vorgenommen werden sollen, bitte die Datenbank schließen und „Datenbank wechseln“ wählen. Danach die Datei über eine der verfügbaren Optionen öffnen, sofern möglich.</string>
|
||||
<string name="ReadOnlyReason_ReadOnlyFlag">Datei ist schreibgeschützt. Diese Attribut entfernen, wenn Änderungen an der Datenbank vorgenommen werden sollen.</string>
|
||||
<string name="ReadOnlyReason_ReadOnlyFlag">Datei ist schreibgeschützt. Dieses Attribut entfernen, wenn Änderungen an der Datenbank vorgenommen werden sollen.</string>
|
||||
<string name="ReadOnlyReason_ReadOnlyKitKat">Das Speichern ist aufgrund von Einschränkungen, die in Android KitKat eingeführt wurden, nicht möglich. Wenn Änderungen an der Datenbank vorgenommen werden sollen, bitte die Datenbank schließen und „Datenbank wechseln“ wählen. Danach die Datei über die systeminterne Dateiauswahl öffnen.</string>
|
||||
<string name="ReadOnlyReason_LocalBackup">Lokale Sicherungskopien können nicht bearbeitet werden. Du kannst über \"Datenbank-Einstellungen\" - \"Datenbank exportieren\" dieses Backup an einen anderen Ort exportieren und dann von dort öffnen. Dann kannst du auch wieder Änderungen vornehmen.</string>
|
||||
<string name="AddCustomIcon">Icon aus Datei hinzufügen...</string>
|
||||
@@ -716,6 +716,20 @@ Anbei einige Tipps, die bei der Diagnose des Problems helfen können:\n
|
||||
<string name="EntryChannel_desc">Benachrichtigung zum schnellen Zugriff auf den aktuell gewählten Eintrag.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Datenbank nach drei fehlgeschlagenen biometrischen Entsperrversuchen schließen.</string>
|
||||
<string name="WarnFingerprintInvalidated">Achtung! Die biometrische Authentifizierung kann von Android ungültig gemacht werden, z. B. nach dem Hinzufügen eines neuen Fingerabdrucks in den Geräteeinstellungen. Bitte sicherstellen, dass jederzeit klar ist, wie mit dem eigenen Hauptpasswort entsperrt werden kann!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Upgraded from Xamarin Android to .net 8</item>
|
||||
<item>Upgrade auf Target-SDK 34</item>
|
||||
<item>Upgraded to Material 3 user interface</item>
|
||||
<item>Improve autofill to work with Compose apps</item>
|
||||
<item>Fix hostname matching in autofill and search</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>OneDrive SDK auf Version 5.68 aktualisiert</item>
|
||||
<item>Dropbox SDK auf Version 7.0.0 aktualisiert</item>
|
||||
<item>Gradle, NewtonsoftJson, FluentFTP, MegaApiClient und okhttp aktualisiert</item>
|
||||
<item>Bugfix in WebDav-Dateiauswahl</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Buttons für die Suche und eine TOTP-Übersicht hinzugefügt (falls TOTP-Einträge vorhanden sind)</item>
|
||||
<item>Darstellung von TOTP-Feldern verbessert: Timeout-Anzeige hinzugefügt und besser sichtbar gemacht.</item>
|
||||
@@ -1146,5 +1160,6 @@ Erstes öffentliches Release</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Für „%1$s“ immer akzeptieren</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Tastatur zurückwechseln wenn fertig</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Beim Drücken von Senden/Los/Fertig zurückschalten</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">QR-Code-Scannen erfordert Google Play-Dienste. Bitte installiere oder aktualisiere Google Play-Dienste auf deinem Gerät.</string>
|
||||
<string name="english_ime_settings">Android-Tastatureinstellungen</string>
|
||||
</resources>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="about_feedback">Σχόλια</string>
|
||||
<string name="AboutText">Το KP2A είναι ένας διαχειριστής συνθηματικών, που παρέχει την δυνατότητα ανάγνωσης/εγγραφής σε βάσεις δεδομένων του KeePass 2.x στο Android.</string>
|
||||
<string name="AboutText">Το KP2A είναι ένας διαχειριστής συνθηματικών, που παρέχει δυνατότητα ανάγνωσης / εγγραφής σε βάσεις δεδομένων του KeePass 2.x στο Android.</string>
|
||||
<string name="CreditsText">Το περιβάλλον εργασίας χρήστη βασίζεται σε μια έκδοση του KeepassDroid που αναπτύχθηκε από τον Brian Pellin. Ο κώδικας για τις λειτουργίες της βάσης δεδομένων βασίζεται στο KeePass του Dominik Reichl. Το ρομπότ Android αναπαράγεται ή τροποποιείται από εργασία που δημιουργήθηκε και διαμοιράστηκε από την Google και χρησιμοποιείται σύμφωνα με τους όρους που περιγράφονται στο το Creative Commons 3.0 Attribution License.</string>
|
||||
<string name="CreditsTextSFTP">Το SFTP υποστηρίζεται με χρήση της βιβλιοθήκης JSch με άδεια BSD που δημιουργήθηκε από τη JCraft, Inc.</string>
|
||||
<string name="CreditsIcons">Το εικονίδιο Σφυρί δημιουργήθηκε από τον John Caserta, το εικονίδιο Πιγκουίνος δημιουργήθηκε από τον Adriano Emerick, το εικονίδιο Φτερό δημιουργήθηκε από τον Jon Testa και το εικονίδιο της Apple δημιουργήθηκε από την Ava Rowell. Όλα τα προηγούμενα εικονίδια είναι από το Noun Project. Το εικονίδιο της Εικόνας είναι από το https://icons8.com/icon/5570/Picture.</string>
|
||||
@@ -401,6 +401,14 @@
|
||||
<string name="ShowSeparateNotifications_summary">Εμφάνιση χωριστών ειδοποιήσεων για την αντιγραφή του ονόματος χρήστη και του συνθηματικού στο πρόχειρο και ενεργοποίηση του πληκτρολογίου.</string>
|
||||
<string name="AccServiceAutoFill_prefs">Αυτόματη συμπλήρωση υπηρεσίας προσβασιμότητας</string>
|
||||
<string name="AutoFill_prefs">Λειτουργία αυτόματης συμπλήρωσης</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_summary">Κατά την αυτόματη συμπλήρωση μιας καταχώρισης με TOTP, εμφανίστε την ειδοποίηση με ένα κουμπί Αντιγραφή TOTP</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_title">Εμφάνιση ειδοποίησης καταχώρισης</string>
|
||||
<string name="AutoFillTotp_prefs_title">Αυτόματη συμπλήρωση για καταχωρίσεις TOTP</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_title">Αντιγραφή TOTP στο πρόχειρο</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_summary">Κατά την αυτόματη συμπλήρωση μιας καταχώρισης με TOTP, αντιγράφει το TOTP στο πρόχειρο</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_summary">Κατά την αυτόματη συμπλήρωση μιας καταχώρισης με TOTP, ενεργοποιήστε το ενσωματωμένο πληκτρολόγιο. Το πληκτρολόγιο έχει ένα κουμπί TOTP.</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_title">Ενεργοποίηση ενσωματωμένου πληκτρολογίου</string>
|
||||
<string name="TotpCopiedToClipboard">Αντιγράφηκε το TOTP στο πρόχειρο</string>
|
||||
<string name="ShowKp2aKeyboardNotification_title">Ειδοποίηση πληκτρολογίου KP2A</string>
|
||||
<string name="ShowKp2aKeyboardNotification_summary">Κάντε προσβάσιμη την πλήρη καταχώριση μέσω του πληκτρολογίου KP2A (συνιστάται).</string>
|
||||
<string name="OpenKp2aKeyboardAutomatically_title">Εναλλαγή πληκτρολογίου</string>
|
||||
@@ -538,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (φάκελος KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Αν δεν θέλεις να δώσεις στο Keepass2Android πλήρη πρόσβαση στο Dropbox, μπορείς να διαλέξεις αυτή την επιλογή. Θα ζητήσει πρόσβαση μόνο στο φάκελο Apps/Keepass2Android. Ταιριάζει ειδικά στη δημιουργία νέας βάσης δεδομένων. Αν ήδη έχεις μια βάση δεδομένων, διάλεξε αυτή την επιλογή για να δημιουργήσεις το φάκελο, μετά τοποθέτησε το αρχείο σου μέσα στο φάκελο (από το PC) και μετά διάλεξε αυτή την επιλογή πάλι για να ανοίξεις το αρχείο. </string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Παρακαλώ σημειώστε: Η Google περιορίζει την πρόσβαση στο Google Drive από εφαρμογές για όλο και περισσότερους χρήστες. Εάν η ενσωματωμένη υλοποίηση του Google Drive δεν λειτουργεί, χρησιμοποιήστε τον επιλογέα αρχείων συστήματος και επιλέξτε το Google Drive εκεί!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (αρχεία KP2A)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Αν δεν θέλετε να δώσετε πρόσβαση KP2A πρόσβαση σε όλο το Google Drive σας, μπορείτε να επιλέξετε αυτή την επιλογή. Σημειώστε ότι πρέπει να δημιουργήσετε ένα αρχείο βάσης δεδομένων πρώτα - τα υπάρχοντα αρχεία δεν είναι ορατά στην εφαρμογή. Επιλέξτε αυτή την επιλογή από την οθόνη Δημιουργία βάσης δεδομένων ή, αν έχετε ήδη ανοίξει μια βάση δεδομένων, με την εξαγωγή της βάσης δεδομένων επιλέγοντας αυτή την επιλογή.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (φάκελος KP2A)</string>
|
||||
@@ -588,6 +597,7 @@
|
||||
<string name="CouldntLoadChalAuxFile_Hint">Χρησιμοποιήστε το πρόσθετο KeeChallenge σε KeePass 2.x (PC) για να ρυθμίσετε τη βάση δεδομένων για χρήση με Πρόκληση-Απόκριση!</string>
|
||||
<string name="ErrorUpdatingChalAuxFile">Σφάλμα ενημέρωσης βοηθητικού αρχείου OTP!</string>
|
||||
<string name="TrayTotp_SeedField_title">Όνομα πεδίου για seed του TOTP</string>
|
||||
<string name="TOTP">TOTP</string>
|
||||
<string name="TrayTotp_SeedField_summary">Εάν χρησιμοποιείτε το πρόσθετο \"TrayTotp\" του Keepass 2 με μη προεπιλεγμένες ρυθμίσεις, πληκτρολογήστε το όνομα του πεδίου για το πεδίο seed σύμφωνα με τις ρυθμίσεις στον υπολογιστή.</string>
|
||||
<string name="TrayTotp_SettingsField_title">Όνομα πεδίου στις ρυθμίσεις TOTP</string>
|
||||
<string name="TrayTotp_SettingsField_summary">Εισάγετε όνομα πεδίου από ρυθμίσεις TrayTotp.</string>
|
||||
@@ -705,6 +715,33 @@
|
||||
<string name="EntryChannel_desc">Ειδοποίηση για απλοποιημένη πρόσβαση στην τρέχουσα καταχώριση.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Κλείσιμο της βάσης δεδομένων μετά από 3 ανεπιτυχείς προσπάθειες βιομετρικού ξεκλειδώματος.</string>
|
||||
<string name="WarnFingerprintInvalidated">Προσοχή! Ο βιομετρικός έλεγχος ταυτότητας μπορεί να ακυρωθεί από το Android, π.χ. μετά την προσθήκη ενός νέου δακτυλικού αποτυπώματος στις ρυθμίσεις της συσκευής σας. Βεβαιωθείτε ότι ξέρετε πάντα πώς να ξεκλειδώσετε με τον κύριο κωδικό πρόσβασης!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Αναβαθμίστηκε από Xamarin Android σε .ΝΕΤ 8</item>
|
||||
<item>Αναβαθμίστηκε στοχεύοντας το SDK 34</item>
|
||||
<item>Αναβαθμίστηκε σε διεπαφή χρήστη Material 3</item>
|
||||
<item>Βελτιώστε την αυτόματη συμπλήρωση για να εργαστείτε με Compose Apps</item>
|
||||
<item>Διόρθωση ονόματος host στην αυτόματη συμπλήρωση και αναζήτηση</item>
|
||||
<item>Διόρθωση προβλήματος με τη γεννήτρια κωδικού πρόσβασης</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Αναβαθμίστηκε το OneDrive SDK στην έκδοση 5.68</item>
|
||||
<item>Αναβαθμίστηκε το Dropbox SDK στην έκδοση 7.0.0</item>
|
||||
<item>Αναβαθμισμένο Gradle, NewtonsoftJson, FluentFTP, MegaApiClient και okhttp</item>
|
||||
<item>Επιδιόρθωση σφαλμάτων στην επιλογή αρχείου WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Προστέθηκαν τα αιωρούμενα κουμπιά ενεργειών για αναζήτηση και επισκόπηση TOTP (αν υπάρχουν καταχωρήσεις TOTP).</item>
|
||||
<item>Βελτιωμένη εμφάνιση των πεδίων TOTP με την προσθήκη ενός δείκτη χρονικού ορίου και πιο εμφανή εμφάνιση.</item>
|
||||
<item>Το TOTP εμφανίζεται από την προβολή ομάδας.</item>
|
||||
<item>Αντιγραφή τιμής κειμένου στο πρόχειρο με παρατεταμένο πάτημα στην προβολή καταχωρίσεων.</item>
|
||||
<item>Κάντε το TOTP πιο εύκολα προσβάσιμο στο ενσωματωμένο πληκτρολόγιο.</item>
|
||||
<item>Εμφάνιση ειδοποίησης καταχώρησης κατά την αυτόματη συμπλήρωση μιας καταχώρισης TOTP. Επιτρέπει την αντιγραφή του TOTP στο πρόχειρο. Δείτε τις προτιμήσεις για τη ρύθμιση της συμπεριφοράς.</item>
|
||||
<item>Ενημερώθηκε η υλοποίηση του TOTP για την επίλυση προβλημάτων συμβατότητας με το KeePass2 και το TrayTOTP</item>
|
||||
<item>Μικρές βελτιώσεις</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11_net">
|
||||
<item>Ενημέρωση pCloud SDK για να παρέχει πρόσβαση σε κοινόχρηστους φακέλους</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_10">
|
||||
<item>Προσθήκη υποστήριξης για δικαιώματα ειδοποίησης στο Android 13+</item>
|
||||
<item>Βελτίωση της υλοποίησης FTP και SFTP</item>
|
||||
@@ -826,8 +863,8 @@
|
||||
</string-array>
|
||||
<string-array name="sftp_auth_modes">
|
||||
<item>Συνθηματικό</item>
|
||||
<item>KP2A Private/Public key</item>
|
||||
<item>Custom Private key</item>
|
||||
<item>Ιδιωτικό / Δημόσιο κλειδί KP2A</item>
|
||||
<item>Προσαρμοσμένο ιδιωτικό κλειδί</item>
|
||||
</string-array>
|
||||
<string-array name="AcceptAllServerCertificates_options">
|
||||
<item>Παράβλεψη αποτυχιών επικύρωσης πιστοποιητικού</item>
|
||||
@@ -845,6 +882,9 @@
|
||||
<string name="autofill_enable_for">Ενεργοποίηση AutoFill για %1$s</string>
|
||||
<string name="invalid_link_association">Δεν σχετίζεται το web domain %1$s με την εφαρμογή %2$s</string>
|
||||
<string name="enable_fingerprint_hint">Το Keepass2Android ανίχνευσε βιομετρικό εξοπλισμό. Θέλετε να ενεργοποιήσετε βιομετρικό ξεκλείδωμα για αυτή τη βάση δεδομένων;</string>
|
||||
<string name="post_notifications_dialog_title">Να επιτρέπονται οι ειδοποιήσεις</string>
|
||||
<string name="post_notifications_dialog_message">Το Keepass2Android μπορεί να εμφανίσει ειδοποιήσεις με κουμπιά για να αντιγράψετε τιμές, όπως κωδικούς πρόσβασης και TOTP στο πρόχειρο, ή για να εμφανιστεί το ενσωματωμένο πληκτρολόγιο. Αυτό είναι χρήσιμο για να μεταφέρετε τιμές σε άλλες εφαρμογές, χωρίς να μεταβείτε σε Keepass2Android επανειλημμένα. Θέλετε να ενεργοποιήσετε αυτές τις ειδοποιήσεις;</string>
|
||||
<string name="post_notifications_dialog_allow">Να επιτρέπονται οι ειδοποιήσεις</string>
|
||||
<string name="post_notifications_dialog_disable">Απενεργοποιήστε αυτό το χαρακτηριστικό</string>
|
||||
<string name="post_notifications_dialog_notnow">Όχι τώρα</string>
|
||||
<string name="understand">Καταλαβαίνω</string>
|
||||
@@ -865,5 +905,8 @@
|
||||
<string name="AutofillWarning_Intro">Πρόκειται να εισάγετε διαπιστευτήρια για τον τομέα \"%1$s\" στην εφαρμογή \"%2$s\".</string>
|
||||
<string name="AutofillWarning_FillDomainInUntrustedApp">Εάν εμπιστεύεστε ότι το \"%2$s\" ανήκει στο \"%1$s\" ή εμπιστεύεστε ότι η εφαρμογή \"%2$s\" δεν καταχράται τα διαπιστευτήρια (πχ. επειδή είναι μια αξιόπιστη εφαρμογή περιήγησης), είναι εντάξει να συνεχίσετε. Αν όχι, ακυρώστε.</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Αποδοχή πάντα στο \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Εναλλαγή μετά την ολοκλήρωση</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Εναλλαγή πίσω όταν πατήσετε αποστολή / λήψη / ολοκλήρωση</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">Η σάρωση QR κώδικα απαιτεί Google Play Services. Παρακαλώ εγκαταστήστε ή ενημερώστε τις Google Play Services στη συσκευή σας.</string>
|
||||
<string name="english_ime_settings">Ρυθμίσεις πληκτρολογίου Android</string>
|
||||
</resources>
|
||||
|
@@ -672,6 +672,26 @@
|
||||
<string name="Continue">Suivant</string>
|
||||
<string name="NoFilenameWarning">L\'URI que vous avez entré ne ressemble pas à un nom de fichier. Etes-vous sûr qu\'il s\'agit d\'un fichier valide ?</string>
|
||||
<string name="FirstInvalidCompositeKeyError">Clé composite invalide ! S\'il vous plaît essayez encore.</string>
|
||||
<string name="RepeatedInvalidCompositeKeyHelp"> Clé composite non valide ! Veuillez essayer les étapes suivantes pour déverrouiller votre base de données :\n
|
||||
|
||||
• Assurez-vous que vous avez saisi le bon mot de passe. Utilisez l\'icône en forme d\'œil pour révéler le mot de passe saisi.\n
|
||||
• Assurez-vous que vous avez sélectionné le bon type de mot de passe et qu\'il correspond à celui utilisé lors de la création de la base de données.\n
|
||||
• Assurez-vous que vous avez sélectionné le bon fichier de base de données.
|
||||
</string>
|
||||
<string name="HintLocalBackupInvalidCompositeKey"> \n
|
||||
• Indice : si vous pensez que votre fichier de base de données est corrompu ou que vous ne vous souvenez pas de la clé principale après l\'avoir modifiée, vous pouvez essayer avec la dernière version du fichier ouverte avec succès en appuyant sur « %1$s » et en sélectionnant la sauvegarde locale.
|
||||
</string>
|
||||
<string name="HintLocalBackupOtherError"> \n
|
||||
• Indice : Keepass2Android a enregistré la dernière version de fichier ouverte avec succès sur le stockage interne. Vous pouvez l\'ouvrir en appuyant sur « %1$s » et en sélectionnant la sauvegarde locale.
|
||||
</string>
|
||||
<string name="CorruptDatabaseHelp"> Le fichier est corrompu.\n
|
||||
Voici quelques conseils qui pourraient aider à diagnostiquer le problème :\n
|
||||
|
||||
• Si vous avez copié le fichier via USB (mode MTP), essayez à nouveau en utilisant un outil comme MyPhoneExplorer. MTP tronque les fichiers dans certains cas.\n
|
||||
• Si vous ne pouvez pas ouvrir le fichier à partir du même emplacement sur votre PC, il est très probable que le fichier soit corrompu. Veuillez alors utiliser une sauvegarde de la base de données. Si vous pensez que Keepass2Android a corrompu le fichier, veuillez contacter l\'équipe d\'assistance.\n
|
||||
• Si vous pouvez toujours ouvrir le fichier sur votre PC, essayez de l\'enregistrer avec des paramètres différents (par ex. décompressé) sur le PC et réessayer de l\'ouvrir dans Keepass2Android. Sinon, veuillez contacter l\'équipe d\'assistance.
|
||||
|
||||
</string>
|
||||
<string name="open_other_db">Ouvrir une autre base de données…</string>
|
||||
<string name="select_database">Sélectionner une base de données</string>
|
||||
<string name="configure_child_dbs">Configurer les bases de données filles…</string>
|
||||
@@ -699,6 +719,14 @@
|
||||
<string name="EntryChannel_desc">Notification pour simplifier l\'accès à l\'entrée actuellement sélectionnée.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Fermer la base de données après trois tentatives de déverrouillage biométrique échouées.</string>
|
||||
<string name="WarnFingerprintInvalidated">Attention ! L\'authentification biométrique peut être invalidée par Android, par ex. après avoir ajouté une nouvelle empreinte digitale dans les paramètres de votre appareil. Assurez-vous de toujours savoir comment déverrouiller avec votre mot de passe maître !</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Mise à niveau de Xamarin Android vers. net 8</item>
|
||||
<item>Mise à niveau vers Target SDK 34</item>
|
||||
<item>Mise à niveau vers l\'interface utilisateur Material 3</item>
|
||||
<item>Improve autofill to work with Compose apps</item>
|
||||
<item>Fix hostname matching in autofill and search</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Ajout de boutons d\'action flottants pour la recherche et l\'aperçu TOTP (si des entrées TOTP sont présentes).</item>
|
||||
<item>Amélioration de l\'affichage des champs TOTP en ajoutant un indicateur de dépassement de délai et en le montrant plus en évidence.</item>
|
||||
|
@@ -151,6 +151,7 @@
|
||||
<string name="hint_keyfile">kulcsfájl</string>
|
||||
<string name="hint_length">hosszúság</string>
|
||||
<string name="hint_pass">jelszó</string>
|
||||
<string name="hint_keyfile_path">SSH privátkulcs elérési útvonala</string>
|
||||
<string name="hint_login_pass">Jelszó</string>
|
||||
<string name="hint_title">név</string>
|
||||
<string name="hint_url">URL</string>
|
||||
@@ -400,6 +401,14 @@
|
||||
<string name="ShowSeparateNotifications_summary">Külön értesítés jelenjen meg a felhasználónév és a jelszó vágólapra másolásáról és a billentyűzet aktiválásáról.</string>
|
||||
<string name="AccServiceAutoFill_prefs">Automatikus kitöltés akadálymentesítési szolgáltatás</string>
|
||||
<string name="AutoFill_prefs">Automatikus kitöltés szolgáltatás</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_summary">Egy bejegyzés TOTP-vel való kitöltésekor értesítés megjelenítése, TOTP másolása gombbal</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_title">Értesítés megjelenítése</string>
|
||||
<string name="AutoFillTotp_prefs_title">Automatikus kitöltés TOTP bejegyzésekhez</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_title">TOTP másolása a vágólapra</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_summary">Egy bejegyzés TOTP-vel való kitöltésekor a TOTP másolása a vágólapra</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_summary">Egy bejegyzés TOTP-vel való kitöltésekor aktiválódjon a beépített billentyűzet</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_title"> A beépített billentyűzet aktiválása</string>
|
||||
<string name="TotpCopiedToClipboard">TOTP a vágólapra másolva</string>
|
||||
<string name="ShowKp2aKeyboardNotification_title">KP2A billentyűzet</string>
|
||||
<string name="ShowKp2aKeyboardNotification_summary">A teljes bejegyzés elérhetővé tétele a KP2A billentyűzet segítségével (ajánlott).</string>
|
||||
<string name="OpenKp2aKeyboardAutomatically_title">Billentyűzetváltás</string>
|
||||
@@ -416,6 +425,7 @@
|
||||
<string name="ShowUnlockedNotification_summary">Egy értesítési ikon megjelenítése, amíg az adatbázis hozzáférhető.</string>
|
||||
<string name="IconVisibilityInfo_Android8_text">Az Android 8 bevezetett egy új működési módot az értesítésekhez. Ha el akarja rejteni a Keepass2Android értesítési ikonját, kérjük, ezt a rendszerbeállításokban tegye meg. Állítsa az értesítési kategória fontosságát minimumra.</string>
|
||||
<string name="IconVisibilityInfo_Android8_btnSettings">Beállítások megnyitása</string>
|
||||
<string name="PostNotificationsPermissionInfo_text">A Keepass2Android képes rendszerértesítést megjeleníteni, amíg az adatbázis nincs lezárva. Hogy ez működjön, kérjük, adja meg az engedélyt.</string>
|
||||
<string name="DontCare">Nem érdekel</string>
|
||||
<string name="DocumentAccessRevoked">A fájl már nem elérhető a Keepass2Android által. Vagy el lett távolítva, vagy a hozzáférési jogosultságok vissza lettek vonva. Kérjük használja a Fájl újra megnyitását, pl. az adatbázis-váltást használva.</string>
|
||||
<string name="PreloadDatabaseEnabled_title">Adatbázisok előrehozott betöltése</string>
|
||||
@@ -500,9 +510,27 @@
|
||||
<string name="hint_sftp_host">szerver (pl. 192.168.0.1)</string>
|
||||
<string name="hint_sftp_port">port</string>
|
||||
<string name="initial_directory">Kezdőkönyvtár (opcionális):</string>
|
||||
<string name="connect_timeout">Kapcsolódás időkorlátja, másodpercben (opcionális)</string>
|
||||
<string name="enter_sftp_login_title">SFTP tárhely adatai:</string>
|
||||
<string name="sftp_auth_mode">Hitelesítési mód</string>
|
||||
<string name="send_public_key">A nyilvános kulcs küldése...</string>
|
||||
<string name="select_private_keyfile">Privátkulcs kiválasztása</string>
|
||||
<string name="hint_sftp_key_name">Új kulcs neve</string>
|
||||
<string name="hint_sftp_key_content">Új kulcs tartalma</string>
|
||||
<string name="private_key_saved">Privátkulcs elmentve</string>
|
||||
<string name="private_key_save_failed">A privátkulcs mentése nem sikerült: %1$s</string>
|
||||
<string name="private_key_info">Adja meg az elmentendő kulcs nevét és tartalmát</string>
|
||||
<string name="private_key_delete">A privát kulcs törölve: %1$s</string>
|
||||
<string name="private_key_delete_failed">A privát kulcs törlése sikertelen: %1$s</string>
|
||||
<string name="save_key">Privát kulcs mentése</string>
|
||||
<string name="delete_key">Privát kulcs törlése</string>
|
||||
<string name="private_key_select">Privát kulcs kiválasztása</string>
|
||||
<string name="private_key_create_new">[Új hozzáadása...]</string>
|
||||
<string name="hint_sftp_key_passphrase">Kulcshoz tartozó jelmondata</string>
|
||||
<string name="sftp_kex_title">Kulcscsere (KEX) algoritmus (opcionális)</string>
|
||||
<string name="hint_sftp_kex">Nevek/specifikációk, vesszővel elválasztva</string>
|
||||
<string name="sftp_shk_title">Szerverazonosításhoz használt kulcs algoritmusa(i) (opcionális)</string>
|
||||
<string name="hint_sftp_shk">Nevek/specifikációk, vesszővel elválasztva</string>
|
||||
<string name="enter_ftp_login_title">Adja meg az FTP bejelentkezési adatait:</string>
|
||||
<string name="enter_mega_login_title">Adja meg a MEGA fiókjának belépési adatait:</string>
|
||||
<string name="select_storage_type">Tárolási típus kiválasztása:</string>
|
||||
@@ -518,9 +546,12 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (KPA2 mappa)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Válassza ezt az opciót, ha nem akarja, hogy a KP2A a teljes Dropbox tárhelyhez hozzáférjen. A KP2A csak az Apps/Keepass2Android könyvtárhoz fog hozzáférést igényelni. Ha már meglévő, de máshol tárolt adatbázist kíván ilyen módon elérni, akkor válassza ezt az opciót a könyvtár létrehozásához, majd helyezze át az adatbázisfájlt a létrehozott könyvtárba (például egy PC-ről), majd válassza még egyszer ezt az opciót a fájl megnyitásához.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Figyelem! A Google egyre több felhasználó számára korlátozza a Google Drive-hoz való hozzáférést az alkalmazásokból. Ha a beépített Google Drive implementáció nem működik, kérjük, használja helyette a Alapértelmezett fájlválasztót és válassza ott a Google Drive-ot!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (KP2A fájlok)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Válassza ezt az opciót, ha nem akarja, hogy a KP2A a teljes Google Drive-hoz hozzáférjen. Fontos, hogy először egy új adatbázist kell létrehoznia, a korábban létrehozott fájlokat az alkalmazás nem fogja látni. Vagy válassza ezt az opciót az Új adatbázis létrehozása képernyőn, vagy, ha már létezik az opció, exportálja azt ennek ezzel az opcióval.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (KP2A folder)</string>
|
||||
<string name="filestoragehelp_pcloud">Ez a tárhelytípus csak az \"Applications/Keepass2Android\" mappához igényel hozzáférést. Ahhoz, hogy a PCloud tárhelyed egy meglévő adatbázisát használd, azt ebben az mappában kell elhelyezned.</string>
|
||||
<string name="filestoragename_pcloudall">PCloud (teljes hozzáférés)</string>
|
||||
<string name="filestoragename_onedrive">OneDrive</string>
|
||||
<string name="filestoragename_onedrive2">OneDrive</string>
|
||||
<string name="filestoragename_onedrive2_full">Az összes fájl és a megosztott fájlok</string>
|
||||
@@ -567,12 +598,14 @@
|
||||
<string name="CouldntLoadChalAuxFile_Hint">Kérjük, konfigurálja az adatbázist hitelesítő kérdés-válasszal való használthoz a KeePass 2.x (PC-s verzió) KeeChallenge beépülő modulja segítségével.</string>
|
||||
<string name="ErrorUpdatingChalAuxFile">OTP kiegészítő fájl frissítése közben hiba történt!</string>
|
||||
<string name="TrayTotp_SeedField_title">TOTP mezőnév</string>
|
||||
<string name="TOTP">Idő alapú egyszer használatos jelszó (TOTP)</string>
|
||||
<string name="TrayTotp_SeedField_summary">Ha a \"TrayTotp\" beépülő-modult nem alapértelmezett beállításokkal használja, adja meg annak a mezőnek a nevét, amit a jelszógenerálásnál használni kell (megegyezően a PC-n használt beállítással).</string>
|
||||
<string name="TrayTotp_SettingsField_title">TOTP beállítások mező</string>
|
||||
<string name="TrayTotp_SettingsField_summary">Adja meg a TrayTotp beállítások mezőjének nevét.</string>
|
||||
<string name="TrayTotp_prefs">TrayTotp</string>
|
||||
<string name="DebugLog_prefs_prefs">Naplófájl a hibakereséshez</string>
|
||||
<string name="DebugLog_title">Naplófájl használata</string>
|
||||
<string name="FtpDebug_title">FTP/SFTP naplózása</string>
|
||||
<string name="DebugLog_summary">Az alkalmazás kimenetének egy helyi naplófájlba írása</string>
|
||||
<string name="DebugLog_send">Hibakeresési naplóbejegyzések küldése...</string>
|
||||
<string name="loading">Töltés...</string>
|
||||
@@ -641,6 +674,21 @@
|
||||
<string name="Continue">Folytatás</string>
|
||||
<string name="NoFilenameWarning">A megadott URI nem tűnik fájlnévnek. Biztos benne, hogy jó URI-t adott meg?</string>
|
||||
<string name="FirstInvalidCompositeKeyError">Az összetett kulcs érvénytelen! Próbálkozzon újra.</string>
|
||||
<string name="RepeatedInvalidCompositeKeyHelp">Az összetett kulcs érvénytelen! Kérjük, próbálja meg a következő lépésekkel feloldani az adatbázisát:\n
|
||||
|
||||
- Győződjön meg róla, hogy helyesen adta meg a jelszót. Használja a szem ikont a beírt jelszó felfedéséhez.\n
|
||||
- Győződjön meg róla, hogy a megfelelő jelszótípust választotta ki. Győződjön meg róla, hogy ez megegyezik az adatbázis létrehozásakor használt típussal.\n
|
||||
- Győződjön meg róla, hogy a megfelelő adatbázisfájlt választotta ki.</string>
|
||||
<string name="HintLocalBackupInvalidCompositeKey"> \n
|
||||
- Tipp: Ha úgy gondolja, hogy az adatbázis-fájlja sérült lehet, vagy nem emlékszik a főkulcsra (jelszó) a módosítás után, akkor a „%1$s” gombra koppintva és a helyi biztonsági mentést kiválasztva próbálkozhat a fájl utolsó sikeresen megnyitott verziójával.</string>
|
||||
<string name="HintLocalBackupOtherError"> \n
|
||||
- Tipp: A Keepass2Android az utolsó sikeresen megnyitott fájlverziót a belső tárhelyen tárolja. Megnyithatja azt a „%1$s” koppintással és a helyi biztonsági mentés kiválasztásával.</string>
|
||||
<string name="CorruptDatabaseHelp">A fájl sérült. \n
|
||||
Néhány tipp, amely segíthet a probléma diagnosztizálásában:\n
|
||||
|
||||
- Ha a fájlt USB-n keresztül másolta (MTP-mód), próbálja meg újra egy olyan eszközzel, mint a MyPhoneExplorer. Az MTP bizonyos esetekben csonkítja a fájlokat.\n
|
||||
- Ha nem tudja megnyitni a fájlt ugyanarról a helyről a számítógépéről sem, akkor nagyon valószínű, hogy a fájl valóban sérült. Kérjük, ekkor használja az adatbázis egy biztonsági mentését. Ha feltételezi, hogy a Keepass2Android okozta a sérülést, kérjük, lépjen kapcsolatba a támogatói csapatot.\n
|
||||
- Ha még meg tudja nyitni a fájlt a számítógépén, kérjük, lépjen kapcsolatba a támogatói csapattal. Megpróbálhatja más beállításokkal elmenteni a számítógépen (például tömörítetlenül), és azt megnyitni a Keepass2Androidban.</string>
|
||||
<string name="open_other_db">Egy másik adatbázis megnyitása…</string>
|
||||
<string name="select_database">Adatbázis kiválasztása</string>
|
||||
<string name="configure_child_dbs">Csatolt adatbázisok konfigurálása…</string>
|
||||
@@ -729,8 +777,8 @@
|
||||
</string-array>
|
||||
<string-array name="sftp_auth_modes">
|
||||
<item>Jelszó</item>
|
||||
<item>KP2A Private/Public key</item>
|
||||
<item>Custom Private key</item>
|
||||
<item>KP2A privát/publikus kulcs</item>
|
||||
<item>Egyedi privát kulcs</item>
|
||||
</string-array>
|
||||
<string-array name="AcceptAllServerCertificates_options">
|
||||
<item>Továbblépés, figyelmeztetés nélkül</item>
|
||||
@@ -748,6 +796,11 @@
|
||||
<string name="autofill_enable_for">Az automatikus kitöltés engedélyezése %1$s esetén</string>
|
||||
<string name="invalid_link_association">Nem sikerült összerendelni a %1$s internettartományt a %2$s alkalmazással</string>
|
||||
<string name="enable_fingerprint_hint">Biometrikus eszköz detektálva. Szeretné engedélyezni az adatbázis biometrikus feloldását?</string>
|
||||
<string name="post_notifications_dialog_title">Értesítések engedélyezése</string>
|
||||
<string name="post_notifications_dialog_message">A Keepass2Android képes értesítéseket megjeleníteni, ami lehetővé teszi, hogy többször vagy egyszer használatos jelszavakat másoljon a vágólapra, vagy aktiválja a beépített billentyűzetet. Ez hasznos többféle érték más alkalmazásokba történő átviteléhez, úgy, hogy ne kelljen többször is alkalmazást váltani. Szeretné engedélyezni az ilyen értesítéseket?</string>
|
||||
<string name="post_notifications_dialog_allow">Értesítések engedélyezése</string>
|
||||
<string name="post_notifications_dialog_disable">A lehetőség kikapcsolása</string>
|
||||
<string name="post_notifications_dialog_notnow">Ne most</string>
|
||||
<string name="understand">Értem</string>
|
||||
<string name="dont_show_again">Ne mutassa többet</string>
|
||||
<string name="masterkey_infotext_head">Emlékszik a főkulcsra (jelszó)?</string>
|
||||
@@ -766,5 +819,8 @@
|
||||
<string name="AutofillWarning_Intro">A(z) \"%1$s\" tartományhoz tartozó azonosítókat készül a(z) \"%2$s\" alkalmazás számára elérhetővé tenni.</string>
|
||||
<string name="AutofillWarning_FillDomainInUntrustedApp">Ha megbízik abban, hogy a(z) \"%1$s\" tartomány a(z) \"%2$s\" alkalmazáshoz tartozik, vagy megbízik abban, hogy az alkalmazás nem él vissza a titkos adatokkal (mert például egy megbízható böngészőprogram), folytassa. Ha nem, szakítsa meg a folyamatot.</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Mindig fogadja el itt: \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Visszakapcsolás, ha végzett</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Visszaváltás a Küldés/Ugrás/Kész gombok megnyomásakor</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">A QR-kód beolvasásához szükséges a Google Play Service. Kérjük, telepítse vagy frissítse a szolgáltatást a készülékén.</string>
|
||||
<string name="english_ime_settings">Keepass2Android billentyűzetbeállítások</string>
|
||||
</resources>
|
||||
|
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (cartella KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Se non vuoi dare a KP2A accesso completo al tuo Dropbox, puoi selezionare questa opzione. Richiederà solo l\'accesso alla cartella Applicazioni/Keepass2Android. Ciò è particolarmente indicato quando si crea un nuovo database. Se hai già un database, fai click su questa opzione per creare la cartella, poi spostaci dentro il file (dal PC), quindi seleziona di nuovo questa opzione per aprire il file.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Nota: Google sta limitando l\'accesso a Google Drive dalle app per un numero sempre maggiore di utenti. Se la funzione integrata di Google Drive non funziona, si prega di utilizzare il selettore di file di sistema e selezionare Google Drive!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (file KP2A)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Se non vuoi dare a KP2A accesso completo al tuo Google Drive completo, puoi selezionare questa opzione. Nota che è necessario prima creare un file di database, i file esistenti non sono visibili per l\'app. Scegli questa opzione dalla schermata Crea database o, se hai già aperto un database, esportando il database scegliendo questa opzione.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (KP2A folder)</string>
|
||||
@@ -672,6 +673,22 @@
|
||||
<string name="Continue">Continua</string>
|
||||
<string name="NoFilenameWarning">L\'URI inserito non sembra il nome di un file. Sei sicuro che sia un file valido?</string>
|
||||
<string name="FirstInvalidCompositeKeyError">Chiave composita non valida! Riprova.</string>
|
||||
<string name="RepeatedInvalidCompositeKeyHelp">Chiave composta non valida! Per favore prova la seguente procedura per sbloccare il database: \n
|
||||
|
||||
• assicurati di aver inserito la password corretta. Usa l\'icona che rappresenta un occhio per vedere la password immessa.\n
|
||||
• assicurati di aver selezionato il tipo di password corretto. Assicurati che coincida con il tipo usato quando hai creato il database.\n
|
||||
• assicurati di aver selezionato il file del database corretto.</string>
|
||||
<string name="HintLocalBackupInvalidCompositeKey"> \n
|
||||
• Suggerimento: se pensi che il tuo file di database possa essere danneggiato oppure non ricordi la password principale dopo averla modificata, puoi provare con l\'ultima versione di file aperta correttamente facendo clic su \"%1$s\" e selezionando il backup locale.</string>
|
||||
<string name="HintLocalBackupOtherError"> \n
|
||||
• Suggerimento: Keepass2Android ha archiviato l\'ultima versione del file aperta correttamente nella memoria interna. È possibile aprirla facendo clic su \"%1$s\" e selezionando il backup locale.
|
||||
</string>
|
||||
<string name="CorruptDatabaseHelp">Il file è corrotto.\n
|
||||
Ecco alcuni suggerimenti che ti potrebbero aiutare a diagnosticare il problema:\n
|
||||
|
||||
• se hai copiato il file tramite USB (MTP-Mode), riprova usando uno strumento come MyPhoneExplorer. (MTP a volte tronca i file.)\n
|
||||
• se non puoi aprire il file dallo stesso percorso sul tuo PC, è molto probabile che il file sia effettivamente danneggiato. Per favore usa un backup del database. Se credi che Keepass2Android abbia corrotto il file, contatta il supporto.\n
|
||||
• se puoi ancora aprire il file sul tuo PC, contatta il supporto. Puoi provare a salvarlo con impostazioni differenti (es: non compresso) sul PC e, poi, riprovare ad aprirlo in Keepass2Android. </string>
|
||||
<string name="open_other_db">Apri un altro database…</string>
|
||||
<string name="select_database">Seleziona il database</string>
|
||||
<string name="configure_child_dbs">Configura i database figli…</string>
|
||||
@@ -699,6 +716,20 @@
|
||||
<string name="EntryChannel_desc">Notifica per semplificare l\'accesso alla voce attualmente selezionata.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Chiudi il database dopo tre tentativi di sblocco biometrici falliti.</string>
|
||||
<string name="WarnFingerprintInvalidated">Attenzione! L\'autenticazione biometrica può essere invalidata da Android, ad es. dopo aver aggiunto una nuova impronta digitale nelle impostazioni del dispositivo. Assicurati di sapere sempre come sbloccare con la tua password principale!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Aggiornato da Xamarin Android a .net 8</item>
|
||||
<item>Aggiornato a Target SDK 34</item>
|
||||
<item>Aggiornato all\'interfaccia utente Material 3</item>
|
||||
<item>Migliora l\'autofill per funzionare con le app Compose</item>
|
||||
<item>Corretta la corrispondenza con l\' hostname in riempimento automatico e ricerca</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Aggiornato OneDrive SDK alla versione 5.68</item>
|
||||
<item>Aggiornato Dropbox SDK alla versione 7.0.0</item>
|
||||
<item>Aggiornati Gradle , NewtonsoftJson, FluentFTP, MegaApiClient e okhttp</item>
|
||||
<item>Bugfix nella selezione dei file WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Aggiunti pulsanti di azione fluttuanti per la ricerca e TOTP panoramica (se sono presenti voci TOTP).</item>
|
||||
<item>Vista migliorata dei campi TOTP aggiungendo un indicatore di tempo limite e mostrandolo in modo più evidente.</item>
|
||||
@@ -902,6 +933,17 @@
|
||||
* Puoi installare altri pacchetti di icone (le vecchie icone in stile Windows sono disponibili sul Play Store)\n
|
||||
* Aggiunta richiesta di conferma prima di eliminare voci senza passare dal cestino\n
|
||||
* Correzione errori (errata visualizzazione dell\'OTP-secret, icona dell\'app errata in certi posti)\n </string>
|
||||
<string name="ChangeLog_0_9_8b">Versione 0.9.8b\n
|
||||
* correzione di errori (il salvataggio di alcuni database fallisce, l\'esportazione su periferica locale non funziona, la selezione di alcune opzioni manda l\'app in crash)\n</string>
|
||||
<string name="ChangeLog_0_9_8">Versione 0.9.8\n
|
||||
* supporto per Storage Access Framework (permette a KP2A Offline di scrivere su scheda SD e Google Drive)\n
|
||||
* tenta di rilevare errori dell\'utente nell\'inserimento degli URL di WebDAV (cartella al posto di file)\n
|
||||
* cambiato il font della password\n
|
||||
* consente di modificare l\'account di Dropbox\n
|
||||
* bugfix: ora ricorda la password OTP</string>
|
||||
<string name="ChangeLog_0_9_7b">Versione 0.9.7b\n
|
||||
* aggiornate le traduzioni\n
|
||||
* bugfix: font Password mancante nella versione 0.9.7; ordina per nome non ordinava i gruppi\n</string>
|
||||
<string name="ChangeLog_keptDonate">Estesa la possibilità di donare una birra o qualcos\'altro</string>
|
||||
<string-array name="clipboard_timeout_options">
|
||||
<item>30 secondi</item>
|
||||
@@ -951,8 +993,8 @@
|
||||
</string-array>
|
||||
<string-array name="sftp_auth_modes">
|
||||
<item>Password</item>
|
||||
<item>KP2A Private/Public key</item>
|
||||
<item>Custom Private key</item>
|
||||
<item>Chiave privata/pubblica di KP2A</item>
|
||||
<item>Chiave privata personalizzata</item>
|
||||
</string-array>
|
||||
<string-array name="AcceptAllServerCertificates_options">
|
||||
<item>Ignora gli errori di convalida del certificato</item>
|
||||
@@ -970,6 +1012,10 @@
|
||||
<string name="autofill_enable_for">Attiva Compilazione automatica per %1$s</string>
|
||||
<string name="invalid_link_association">Non è possibile associare il dominio web %1$s con l\'app %2$s</string>
|
||||
<string name="enable_fingerprint_hint">Keepass2Android ha rilevato il sensore biometrico. Desideri attivare lo sblocco biometrico per questo database?</string>
|
||||
<string name="post_notifications_dialog_title">Consenti le notifiche</string>
|
||||
<string name="post_notifications_dialog_message">Keepass2Android può mostrare le notifiche con i pulsanti per copiare valori come password e TOTP negli appunti, o per far apparire la tastiera integrata. Questo è utile per trasferire i valori in altre applicazioni senza passare a Keepass2Android ripetutamente. Vuoi abilitare tali notifiche?</string>
|
||||
<string name="post_notifications_dialog_allow">Consenti le notifiche</string>
|
||||
<string name="post_notifications_dialog_disable">Disabilita questa funzione</string>
|
||||
<string name="post_notifications_dialog_notnow">Non ora</string>
|
||||
<string name="understand">Ho capito</string>
|
||||
<string name="dont_show_again">Non mostrare più</string>
|
||||
@@ -989,5 +1035,8 @@
|
||||
<string name="AutofillWarning_Intro">Stai per inserire le credenziali per il dominio \"%1$s\" nell\'app \"%2$s\"</string>
|
||||
<string name="AutofillWarning_FillDomainInUntrustedApp">Se ti fidi di \"%2$s\" ad appartenere a \"%1$s\" o se ti fidi dell\'app \"%2$s\" a non abusare delle credenziali (es. perché si tratta di un\'applicazione sicura), è possibile continuare. Altrimenti si prega di annullare.</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Accetta sempre in \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Cambia tastiera quando terminato</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Torna indietro quando premi invia/vai/fatto</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">La scansione del codice QR richiede Google Play Services. Installa o aggiorna Google Play Services sul tuo dispositivo.</string>
|
||||
<string name="english_ime_settings">Impostazioni tastiera Keepass2Android</string>
|
||||
</resources>
|
||||
|
@@ -718,6 +718,20 @@
|
||||
<string name="EntryChannel_desc">選択中のエントリーへ簡単にアクセスするための通知</string>
|
||||
<string name="CloseDbAfterFailedAttempts">生体認証ロック解除に 3 回失敗すると、データベースを閉じます。</string>
|
||||
<string name="WarnFingerprintInvalidated">警告! 生体認証は、例えば、新たな指紋をデバイスに追加したときなどに Android によって無効にされる可能性があります。常にマスターパスワードによる解除方法を覚えておいてください!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Xamarin Android から .net 8 にアップグレード</item>
|
||||
<item>ターゲットを SDK 34 にアップグレード</item>
|
||||
<item>ユーザーインターフェイスを Material 3 にアップグレード</item>
|
||||
<item>Compose アプリでの自動入力機能を改善</item>
|
||||
<item>自動入力と検索でホスト名の一致条件を修正</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>OneDrive SDK をバージョン 5.68 にアップグレード</item>
|
||||
<item>Dropbox SDK をバージョン 7.0.0 にアップグレード</item>
|
||||
<item>Gradle、NewtonsoftJson、FluentFTP、MegaApiClient、okhttp をアップグレード</item>
|
||||
<item>WebDav ファイル選択のバグを修正</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>検索と TOTP 一覧 (TOTP エントリーが存在する場合) のフローティングアクションボタンを追加</item>
|
||||
<item>タイムアウト表示を追加し、より目立つように TOTP フィールドの表示を改善</item>
|
||||
|
@@ -548,6 +548,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (pasta KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Se você não quiser dar acesso KP2A para o seu Dropbox completo, você pode selecionar esta opção. Ele irá solicitar somente acesso para a pasta Apps/Keepass2Android. Isto é especialmente adequado ao criar um novo banco de dados. Se você já tiver um banco de dados, clique nesta opção para criar a pasta, em seguida, colocar o arquivo dentro da pasta (a partir de seu PC) e em seguida, selecione esta opção novamente para abrir o arquivo.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Observação: o Google está restringindo o acesso ao Google Drive a partir de aplicativos para cada vez mais usuários. Se a implementação integrada do Google Drive não funcionar, use o seletor de arquivos do sistema e selecione o Google Drive lá!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (Arquivos KP2A)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Se você não quiser dar acesso KP2A ao seu Google Drive completo, você pode selecionar esta opção. Observe que você precisa criar um arquivo de banco de dados primeiro, os arquivos existentes não são visíveis para o aplicativo. Escolha esta opção na tela Criar banco de dados ou, se você já abriu um banco de dados, exportando o banco de dados escolhendo esta opção.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (Pasta KP2A)</string>
|
||||
@@ -721,6 +722,20 @@
|
||||
<string name="EntryChannel_desc">Notificação para simplificar o acesso à entrada selecionada.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Fechar banco de dados após três tentativas de desbloqueio biométrico falhadas.</string>
|
||||
<string name="WarnFingerprintInvalidated">Alerta! Autenticação biométrica pode ser invalidada pelo Android, por exemplo: depois de adicionar uma nova digital nas configurações do seu dispositivo. Esteja certo de sempre saber como desbloquear com sua senha mestra!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Atualizado de Xamarin Android para .NET 8</item>
|
||||
<item>Atualizado para o Target SDK 34</item>
|
||||
<item>Atualizado para a interface de usuário Material 3</item>
|
||||
<item>Melhorado o preenchimento automático para trabalhar com aplicativos Compose</item>
|
||||
<item>Corrigido a correspondência do nome do host em preenchimento automático e pesquisa</item>
|
||||
<item>Corrigido um problema com gerador de senhas</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Atualizado o OneDrive SDK para a versão 5.68</item>
|
||||
<item>Dropbox SDK atualizado para a versão 7.0.0</item>
|
||||
<item>Atualizado Gradle, Newtonsoftjson, Fluentftp, Megaapiclient e okhttp</item>
|
||||
<item>Correção na seleção de arquivo WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Adicionados botões de ação flutuantes para pesquisa e visão geral do TOTP (se entradas TOTP estiverem presentes).</item>
|
||||
<item>Exibição aprimorada de campos TOTP adicionando um indicador de tempo limite e mostrando-o com mais destaque.</item>
|
||||
@@ -1186,5 +1201,6 @@
|
||||
<string name="AutofillWarning_trustAsBrowser">Aceitar sempre em \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Voltar quando terminar</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Voltar ao pressionar enviar/ir/concluído</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">A leitura de código QR requer o Google Play Services. Instale ou atualize o Google Play Services no seu dispositivo.</string>
|
||||
<string name="english_ime_settings">Configurações do teclado Android</string>
|
||||
</resources>
|
||||
|
@@ -5,11 +5,11 @@
|
||||
<string name="CreditsText">Interfaţa cu utilizatorul este bazată pe un port al KeepassDroid dezvoltat de Brian Pellin. Codul pentru operaţiunile cu baza de date este bazat pe KeePass de Dominik Reichl. Robotul Android este reprodus sau modificate din materiale create şi împărtăşite de Google şi utilizate în conformitate cu condiţiile descrise de licenţa Creative Commons Attribution 3.0.</string>
|
||||
<string name="CreditsTextSFTP">Suportul pentru SFTP este implementat folosind librăria JSch sub licență BDS, creată de JCraft, Inc.</string>
|
||||
<string name="CreditsIcons">Iconița cu un ciocan este creată de John Caserta de la proiectul Noun. Cea cu un pinguin este realizată de Jon Testa de la același proiect. Iconița cu un măr este creată de Ava Rowell de la proiectul Noun fiind și ea. Iconița-imagine este de pe https://icons8.com/icon/5570/Picture.</string>
|
||||
<string name="accept">Accepta</string>
|
||||
<string name="accept">Acceptă</string>
|
||||
<string name="deny">Interzice</string>
|
||||
<string name="add_entry">Adăugă o înregistrare</string>
|
||||
<string name="edit_entry">Editeaza inregistrare</string>
|
||||
<string name="add_url_entry">Creați înregistrare pentru URL</string>
|
||||
<string name="edit_entry">Editează înregistrarea</string>
|
||||
<string name="add_url_entry">Creare intrare pentru URL</string>
|
||||
<string name="add_group">Adăugă un grup</string>
|
||||
<string name="add_group_title">Adăugare grup</string>
|
||||
<string name="edit_group_title">Editează Grupul</string>
|
||||
@@ -31,7 +31,7 @@
|
||||
<string name="NavigationToGroupCompleted_message">Grupul afișat este acum: %1$s</string>
|
||||
<string name="AutofillDisabledQueriesPreference_title">Obiective de completare automată dezactivate</string>
|
||||
<string name="AutofillDisabledQueriesPreference_summary">Vizualizează o listă de aplicații și site-uri pentru care completarea automată a fost dezactivată</string>
|
||||
<string name="OfferSaveCredentials_summary">Dacă este activat, Android va întreba dacă vrei să salvezi credențialele după ce ai introdus manual datele în câmpurile care pot fi completate automat.</string>
|
||||
<string name="OfferSaveCredentials_summary">Dacă este activat, Android va întreba dacă vrei să salvezi acreditările după ce ai introdus manual datele în câmpurile care pot fi completate automat.</string>
|
||||
<string name="OfferSaveCredentials_title">Oferă salvarea datelor de autentificare</string>
|
||||
<string name="ShowGroupInEntry_title">Arată numele grupului în vizualizarea înregistrărilor</string>
|
||||
<string name="unknown_uri_scheme">Scuze! Keepass2Android nu poate interpreta URI-ul returnat %1$s. Te rog să contactezi producătorul!</string>
|
||||
@@ -47,15 +47,15 @@
|
||||
<string name="keyboard_prefs">Tastatură</string>
|
||||
<string name="export_prefs">Exportă baza de date...</string>
|
||||
<string name="fingerprint_prefs">Deblocare biometrică</string>
|
||||
<string name="import_db_prefs">Importă baza de date în folderul intern</string>
|
||||
<string name="import_keyfile_prefs">Importă fișierul cheie în folderul intern</string>
|
||||
<string name="import_db_prefs">Importă baza de date în dosarul intern</string>
|
||||
<string name="import_keyfile_prefs">Importă fișierul cheie în dosarul intern</string>
|
||||
<string name="export_keyfile_prefs">Importă fișierul cheie din folderul intern</string>
|
||||
<string name="keyboardswitch_prefs">Comutare tastaturi</string>
|
||||
<string name="OnlyAvailableForLocalFiles">Valabil doar pentru fișiere locale.</string>
|
||||
<string name="FileIsInInternalDirectory">Fișierul este stocat în folderul intern.</string>
|
||||
<string name="DatabaseFileMoved">Baza de date a fost copiată în folderul intern. Apasă Ok pentru a o deschide din noua locație. Notă: Nu uita să exporți periodic baza de date pe un spațiu de stocare sigur!</string>
|
||||
<string name="KeyfileMoved">Fișierul-cheie a fost copiat în folderul intern. Asigură-te că ai o copie de rezervă înainte de al șterge din locația curentă!</string>
|
||||
<string name="KeyfileMoveRequiresRememberKeyfile">Imposibil de folosit folderul intern când locația fișierului cheie nu este memorară. Schimbă preferințele de securitate.</string>
|
||||
<string name="FileIsInInternalDirectory">Fișierul este stocat în dosarul intern.</string>
|
||||
<string name="DatabaseFileMoved">Baza de date a fost copiată în dosarul intern. Apasă Ok pentru a o deschide din noua locație. Notă: Nu uita să exporți periodic baza de date pe un spațiu de stocare sigur!</string>
|
||||
<string name="KeyfileMoved">Fișierul-cheie a fost copiat în dosarul intern. Asigură-te că ai o copie de rezervă înainte de al șterge din locația curentă!</string>
|
||||
<string name="KeyfileMoveRequiresRememberKeyfile">Imposibil de folosit dosarul intern când locația fișierului cheie nu este memorară. Schimbă preferințele de securitate.</string>
|
||||
<string name="unlock_database_button">Deblocare</string>
|
||||
<string name="unlock_database_title">Deblocarea bazei de date</string>
|
||||
<string name="brackets">Paranteze</string>
|
||||
@@ -83,22 +83,22 @@
|
||||
<string name="ellipsis">\u2026</string>
|
||||
<string name="copy_to_clipboard">Copiază în clipboard</string>
|
||||
<string name="SystemLanguage">Limba sistemului</string>
|
||||
<string name="fingerprint_description">Vă rugăm să vă autentificați pentru a continua</string>
|
||||
<string name="fingerprint_fatal">Nu se poate seta deblocarea prin amprentă:</string>
|
||||
<string name="fingerprint_description">Autentifică-te pentru a continua</string>
|
||||
<string name="fingerprint_fatal">Nu se poate configura Deblocarea biometrică:</string>
|
||||
<string name="fingerprint_not_recognized">Autentificare biometrică eșuată. Încearcă din nou</string>
|
||||
<string name="fingerprint_success">Autentificarea cu amprentă a reușit.</string>
|
||||
<string name="fingerprint_success">Autentificarea biometrică a reușit</string>
|
||||
<string name="fingerprint_os_error">Deblocarea biometrică necesită Android 6.0 sau mai nou.</string>
|
||||
<string name="fingerprint_hardware_error">Nu s-a detectat dispozitiv pentru recunoaștere a amprentei.</string>
|
||||
<string name="fingerprint_no_enrolled">Nu ați configurat autentificarea biometrică pe acest dispozitiv. Vă rugăm să mergeți mai întâi la setările sistemului.</string>
|
||||
<string name="fingerprint_hardware_error">Nici un hardware biometric detectat.</string>
|
||||
<string name="fingerprint_no_enrolled">Nu ai configurat autentificarea biometrică pe acest dispozitiv. Accesează mai întâi setările sistemului.</string>
|
||||
<string name="disable_fingerprint_unlock">Dezactivează deblocarea biometrică</string>
|
||||
<string name="enable_fingerprint_unlock">Activează deblocarea biometrică completă</string>
|
||||
<string name="enable_fingerprint_quickunlock">Activează deblocarea biometrică pentru QuickUnlock</string>
|
||||
<string name="fingerprint_unlock_failed">Deblocarea biometrică a eșuat. Cheia de decriptare a fost invalidată de Android OS. Acest lucru se întâmplă de obicei dacă o autentificare biometrică sau setările de securitate au fost modificate. </string>
|
||||
<string name="fingerprint_disabled_wrong_masterkey">Deblocarea bazei de date a eșuat: Cheie compozită invalidă. Deblocarea biometrică a fost dezactivată deoarece aparent parola principală stocată nu mai este validă. </string>
|
||||
<string name="fingerprint_reenable">Vă rugăm reactivați deblocarea biometrică pentru noua parolă principală.</string>
|
||||
<string name="fingerprint_reenable2">Vă rugăm să deblocați cu parola dvs. și apoi să reactivați deblocarea biometrică în setările bazei de date.</string>
|
||||
<string name="fingerprint_reenable2">Deblochează cu parola și apoi reactivează deblocarea biometrică în setările bazei de date.</string>
|
||||
<string name="FingerprintInitFailed">Inițializarea autentificării biometrice a eșuat. </string>
|
||||
<string name="FingerprintSetupFailed">Criptarea datelor a eșuat. Acest lucru se poate întâmpla dacă adăugați sau eliminați amprentele din setările de sistem în timp ce Keepass2Android vă așteaptă amprenta.</string>
|
||||
<string name="FingerprintSetupFailed">Criptarea datelor a eșuat. Acest lucru se poate întâmpla dacă adaugi sau elimini amprentele din setările de sistem în timp ce Keepass2Android așteaptă amprenta.</string>
|
||||
<string name="enable_fingerprint_unlock_Info">Aceasta va stoca parola principală pe acest dispozitiv, criptată cu Keystore Android și protejată folosind autentificarea biometrică. Permite deblocarea bazei de date doar folosind biometria.</string>
|
||||
<string name="enable_fingerprint_quickunlock_Info">Permite utilizarea autentificării biometrice în locul codului QuickUnlock. Nu stochează nicio informație legată de parola principală.</string>
|
||||
<string name="enter_filename">Alegeți numele bazei de date</string>
|
||||
@@ -131,7 +131,7 @@
|
||||
<string name="error_filename_required">Este necesar un nume fișier.</string>
|
||||
<string name="error_file_not_create">Nu s-a putut crea fișierul</string>
|
||||
<string name="error_invalid_db">Bază de date invalidă.</string>
|
||||
<string name="error_invalid_path">Cale invalidă.</string>
|
||||
<string name="error_invalid_path">Cale incorectă.</string>
|
||||
<string name="error_no_name">Este necesar un nume.</string>
|
||||
<string name="error_nopass">Este necesară o parolă sau un fișier cheie.</string>
|
||||
<string name="error_pass_gen_type">Trebuie selectat cel puțin un tip de generare de parole</string>
|
||||
@@ -139,7 +139,7 @@
|
||||
<string name="error_rounds_not_number">Etapele trebuie să fie un număr.</string>
|
||||
<string name="error_param_not_number">Parametru trebuie să fie un număr.</string>
|
||||
<string name="error_title_required">Este necesar un titlu.</string>
|
||||
<string name="error_wrong_length">Introduceți un număr întreg pozitiv în câmpul de lungime</string>
|
||||
<string name="error_wrong_length">Introdu un număr întreg pozitiv în câmpul de lungime</string>
|
||||
<string name="FileNotFound">Fișierul nu s-a găsit.</string>
|
||||
<string name="file_browser">Browser fișiere</string>
|
||||
<string name="generate_password">Generare parolă</string>
|
||||
@@ -172,11 +172,15 @@
|
||||
<string name="MaskedPassword">*****</string>
|
||||
<string name="maskpass_title">Maschează parola</string>
|
||||
<string name="maskpass_summary">Ascunde parolele în mod implicit</string>
|
||||
<string name="masktotp_title">Mascare câmp TOTP</string>
|
||||
<string name="masktotp_summary">Ascunde câmpul TOTP în mod implicit</string>
|
||||
<string name="NoAutofillDisabling_title">Nicio opțiune pentru a dezactiva autocompletarea</string>
|
||||
<string name="NoAutofillDisabling_summary">Dacă este activat, aplicația nu va afișa opțiunea de a dezactiva completarea automată pentru înregistrări specifice.</string>
|
||||
<string name="menu_about">Despre</string>
|
||||
<string name="menu_change_key">Schimbă cheia principală</string>
|
||||
<string name="menu_copy_pass">Copiază parola</string>
|
||||
<string name="menu_copy_user">Copiază nume utilizator</string>
|
||||
<string name="menu_copy_totp">Copiază TOTP</string>
|
||||
<string name="menu_create">Crează</string>
|
||||
<string name="menu_app_settings">Setări</string>
|
||||
<string name="menu_db_settings">Setări bază de date</string>
|
||||
@@ -204,8 +208,8 @@
|
||||
<string name="no_keys">Nu sunt înregistrări în baza de date sau grup.</string>
|
||||
<string name="no_results">Nici un rezultat de căutare</string>
|
||||
<string name="no_url_handler">Niciun handler pentru acest URL.</string>
|
||||
<string name="open_recent">Deschideți baza de date recentă (apăsați pentru a deschide)</string>
|
||||
<string name="omitbackup_title">Nu căuta înregistrări în backup şi coşul de gunoi</string>
|
||||
<string name="open_recent">Deschide baza de date recentă (apasă pentru a deschide)</string>
|
||||
<string name="omitbackup_title">Nu căuta înregistrări în backup și coșul de gunoi</string>
|
||||
<string name="omitbackup_summary">Omite grupurile \'Backup\' şi \'Coş de gunoi\' din toate căutările</string>
|
||||
<string name="pass_filename">Nume fişier bază de date KeePass</string>
|
||||
<string name="password_title">Introduceţi parola bazei de date</string>
|
||||
@@ -220,12 +224,12 @@
|
||||
<string name="rijndael">Rijndael (AES)</string>
|
||||
<string name="root">Root</string>
|
||||
<string name="AutoReturnFromQuery_title">Revino în automat din ecranul de interogare</string>
|
||||
<string name="AutoReturnFromQuery_summary">Când căutați o intrare pentru o aplicație sau un sit în linie: reveniți automat de pe ecranul de interogare dacă există o singură înregistrare potrivită în baza de date.</string>
|
||||
<string name="AutoReturnFromQuery_summary">Când cauți o intrare pentru o aplicație sau o pagină web: revine automat de pe ecranul de interogare dacă există o singură intrare potrivită în baza de date.</string>
|
||||
<string name="KeyDerivFunc">Funcția de derivare a cheii</string>
|
||||
<string name="rounds">Etape de criptare</string>
|
||||
<string name="rounds_explaination">Mai multe etape de criptare oferă protecţie împotriva atacurilor prin forță brută, dar pot încetini semnificativ încărcarea şi salvarea.</string>
|
||||
<string name="rounds_explaination">Mai multe etape de criptare oferă protecție împotriva atacurilor prin forță brută, dar pot încetini semnificativ încărcarea și salvarea.</string>
|
||||
<string name="rounds_hint">etape</string>
|
||||
<string name="argon2memory">Memorie pentru Argon 2 (octeţi)</string>
|
||||
<string name="argon2memory">Memorie pentru Argon 2 (octeți)</string>
|
||||
<string name="argon2parallelism">Paralelismul pentru Argon 2</string>
|
||||
<string name="database_name">Numele bazei de date</string>
|
||||
<string name="default_username">Nume utilizator implicit pentru intrări noi</string>
|
||||
@@ -246,7 +250,7 @@
|
||||
<string name="at_least_one_from_each_group">Cel puțin unul din fiecare grup</string>
|
||||
<string name="exclude_lookalike">Exclude caractere asemănătoare</string>
|
||||
<string name="password_generation_profile">Profil</string>
|
||||
<string name="save_password_generation_profile_text">Introduceți numele profilului pentru a fi salvat. Introduceți un nume existent pentru suprascrie.</string>
|
||||
<string name="save_password_generation_profile_text">Introdu numele profilului pentru a fi salvat. Introdu un nume existent pentru suprascrie.</string>
|
||||
<string name="hint_wordcount">Numărul de cuvinte din expresia de acces</string>
|
||||
<string name="hint_wordseparator">Separator cuvinte</string>
|
||||
<string-array name="PasswordGeneratorModes">
|
||||
@@ -266,18 +270,18 @@
|
||||
<string name="search_in">Căutare în</string>
|
||||
<string name="select_other_entry">Selectaţi o altă înregistrare</string>
|
||||
<string name="select_group_then_add">Deschideți grupul dorit, apoi apăsaţi \"%1$s\"!</string>
|
||||
<string name="insert_element_here">Introduceţi aici</string>
|
||||
<string name="insert_element_here">Introdu aici</string>
|
||||
<string name="twofish">Twofish</string>
|
||||
<string name="underline">Subliniere</string>
|
||||
<string name="unsupported_db_version">Versiunea bazei de date nesuportată.</string>
|
||||
<string name="uppercase">Litere mari</string>
|
||||
<string name="warning_read_only">Cardul sd este momentan read-only. Nu veți putea salva modificările la baza de date.</string>
|
||||
<string name="warning_unmounted">Cardul sd nu este montat momentan. Nu veți putea încărca sau crea baza de date.</string>
|
||||
<string name="warning_read_only">Cardul SD este momentan doar în citire. Nu vei putea salva modificările la baza de date.</string>
|
||||
<string name="warning_unmounted">Cardul SD nu este montat momentan. Nu vei putea încărca sau crea baza de date.</string>
|
||||
<string name="version_label">Versiune</string>
|
||||
<string name="version_history">Istoric versiuni</string>
|
||||
<string name="author">Keepass2Android este creat de către Philipp Crocoll.</string>
|
||||
<string name="further_authors">Mulțumită contribuţiilor de cod de către %1$s.</string>
|
||||
<string name="designers">Icoană și design mulțumită contribuțiilor făcute de %1$s.</string>
|
||||
<string name="designers">Pictogramă și design mulțumită contribuțiilor făcute de %1$s.</string>
|
||||
<string name="supporters">Mulțumită sprijinului financiar din partea %1$s.</string>
|
||||
<string name="credit_plugin1">Plugin-ul pentru cifrul Twofish a fost creat de Scott Greenberg şi este inclus în KP2A.</string>
|
||||
<string name="credit_android_filechooser">android-filechooser a fost creat de Hai Bison</string>
|
||||
@@ -285,11 +289,13 @@
|
||||
<string name="please_note">Vă rugăm să reţineţi</string>
|
||||
<string name="contributors">Contribuitori</string>
|
||||
<string name="regular_expression">Regular expression</string>
|
||||
<string name="AlwaysMergeOnConflict_title">Se îmbină întotdeauna la conflict</string>
|
||||
<string name="AlwaysMergeOnConflict_summary">Când KeepAss2Android detectează că fișierul de la distanță a fost modificat, contopește întotdeauna modificările locale cu modificările de la distanță.</string>
|
||||
<string name="TanExpiresOnUse_title">TAN expiră la utilizare</string>
|
||||
<string name="TanExpiresOnUse_summary">Marchează înregistrările TAN ca expirate la utilizarea lor</string>
|
||||
<string name="ShowUsernameInList_title">Afişează numele utilizatorului în listă</string>
|
||||
<string name="ShowUsernameInList_summary">Afişează numele utilizatorului sub înregistrări. Util pentru conturi sau TAN-uri multiple.</string>
|
||||
<string name="RememberRecentFiles_title">Reţine bazele de date</string>
|
||||
<string name="ShowUsernameInList_title">Afișează numele utilizatorului în listă</string>
|
||||
<string name="ShowUsernameInList_summary">Afișează numele utilizatorului sub înregistrări. Util pentru conturi sau TAN-uri multiple.</string>
|
||||
<string name="RememberRecentFiles_title">Memorizează bazele de date</string>
|
||||
<string name="RememberRecentFiles_summary">Reţine baze de date deschise recent si afişează-le în ecranul de deschidere a bazelor de date.</string>
|
||||
<string name="NoDalVerification_title">Fără verificare DAL</string>
|
||||
<string name="NoDalVerification_summary">Dezactivează verificarea dacă domeniul și pachetul aplicației se potrivesc</string>
|
||||
@@ -299,16 +305,16 @@
|
||||
<string name="kp2a_findUrl">Găsește parola</string>
|
||||
<string name="excludeExpiredEntries">Exclude înregistrările expirate</string>
|
||||
<string name="search_options">Opţiuni</string>
|
||||
<string name="caseSensitive">Case sensitive</string>
|
||||
<string name="start_open_file">Deschide fişier...</string>
|
||||
<string name="caseSensitive">Sensibil la majuscule</string>
|
||||
<string name="start_open_file">Deschide un fișier...</string>
|
||||
<string name="start_create">Creează bază de date nouă...</string>
|
||||
<string name="start_open_url">Deschide URL...</string>
|
||||
<string name="start_create_import">Importă fişier în bază de date nouă...</string>
|
||||
<string name="start_create_import">Importă fișier în bază de date nouă...</string>
|
||||
<string name="enter_filename_details_url">Trebuie specificat URL-ul complet inclusiv protocolul, de exemplu http://.</string>
|
||||
<string name="enter_filename_details_create_import">Fişierul de importat va fi selectat la pasul următor.</string>
|
||||
<string name="enter_filename_details_create_import">Fișierul de importat va fi selectat la pasul următor.</string>
|
||||
<string name="enable_quickunlock">Activare QuickUnlock</string>
|
||||
<string name="QuickUnlock_label">Introduceţi ultimele %1$d caractere ale parolei dvs.:</string>
|
||||
<string name="QuickUnlock_label_secure">Introduceți codul QuickUnlock:</string>
|
||||
<string name="QuickUnlock_label">Introdu ultimele %1$d caractere ale parolei.:</string>
|
||||
<string name="QuickUnlock_label_secure">Introdu codul QuickUnlock:</string>
|
||||
<string name="QuickUnlock_button">QuickUnlock!</string>
|
||||
<string name="QuickUnlock_lockButton">Închide baza de date</string>
|
||||
<string name="QuickUnlockDefaultEnabled_title">Activează QuickUnlock implicit</string>
|
||||
@@ -323,6 +329,8 @@
|
||||
<string name="QuickUnlockLength_summary">Numărul maxim de caractere utilizate ca şi parolă QuickUnlock.</string>
|
||||
<string name="QuickUnlockHideLength_title">Ascunde lungimea QuickUnlock</string>
|
||||
<string name="QuickUnlockHideLength_summary">Dacă este activat, lungimea codului QuickUnlock nu este afișat pe ecranul QuickUnlock.</string>
|
||||
<string name="QuickUnlockKeyFromDatabase_title">Cheie QuickUnlock din intrarea bazei de date</string>
|
||||
<string name="QuickUnlockKeyFromDatabase_summary">Dacă baza de date activă conține o intrare cu titlul QuickUnlock în grupul său rădăcină, parola acestei intrări este utilizată ca cod QuickUnlock.</string>
|
||||
<string name="QuickUnlock_fail">QuickUnlock a eşuat: parolă incorectă!</string>
|
||||
<string name="SaveAttachmentDialog_title">Salvaţi ataşament</string>
|
||||
<string name="SaveAttachmentDialog_text">Selectaţi unde se salvează ataşamentul.</string>
|
||||
@@ -341,9 +349,14 @@
|
||||
<string name="protection">Câmp protejat</string>
|
||||
<string name="add_binary">Ataşează fişier...</string>
|
||||
<string name="add_extra_string">Adaugă câmp adiţional</string>
|
||||
<string name="configure_totp">Configurare TOTP</string>
|
||||
<string name="totp_secret_key">Cheie secretă</string>
|
||||
<string name="totp_encoding_rfc6238">Setări implicite pentru jetonul RFC6238</string>
|
||||
<string name="totp_encoding_steam">Setări pentru jetonul Steam</string>
|
||||
<string name="totp_encoding_custom">Setări jeton personalizat</string>
|
||||
<string name="totp_time_step">Pas temporal</string>
|
||||
<string name="totp_length">Lungime cod</string>
|
||||
<string name="totp_scan">Scanare cod QR</string>
|
||||
<string name="delete_extra_string">Şterge câmp adiţional</string>
|
||||
<string name="database_loaded_quickunlock_enabled">%1$s: Blocat. QuickUnlock activat.</string>
|
||||
<string name="database_loaded_unlocked">%1$s: Deblocat.</string>
|
||||
@@ -386,18 +399,37 @@
|
||||
<string name="ShowSeparateNotifications_summary">Arată notificări separate pentru copierea numelui utilizatorului și a parolei în clipboard și activarea tastaturii.</string>
|
||||
<string name="AccServiceAutoFill_prefs">Serviciu de accesibilitate de completare automată</string>
|
||||
<string name="AutoFill_prefs">Serviciu de completare automată</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_summary">Când se completează automat o înregistrare cu TOTP, afișează notificarea cu un buton Copiere TOTP</string>
|
||||
<string name="AutoFillTotp_prefs_ShowNotification_title">Arată notificarea introducerii</string>
|
||||
<string name="AutoFillTotp_prefs_title">Autocompletare pentru intrările TOTP</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_title">Copiază TOTP în clipboard</string>
|
||||
<string name="AutoFillTotp_prefs_CopyTotpToClipboard_summary">Atunci când se completează automat o intrare cu TOTP, se copiază TOTP în clipboard</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_summary">Atunci când se completează automat o intrare cu TOTP, se activează tastatura încorporată. Tastatura are un buton TOTP.</string>
|
||||
<string name="AutoFillTotp_prefs_ActivateKeyboard_title">Activare tastatură încorporată</string>
|
||||
<string name="TotpCopiedToClipboard">TOTP copiat în clipboard</string>
|
||||
<string name="ShowKp2aKeyboardNotification_title">Notificare tastatură KP2A</string>
|
||||
<string name="ShowKp2aKeyboardNotification_summary">Oferă întreaga înregistrare folosind tastatura KP2A (recomandat).</string>
|
||||
<string name="OpenKp2aKeyboardAutomatically_title">Comută tastatura</string>
|
||||
<string name="OpenKp2aKeyboardAutomatically_summary">Deschide fereastra de selecție a tastaturii când o înregistrare este disponibilă prin tastatura KP2A după căutarea din browser.</string>
|
||||
<string name="kp2a_switch_rooted">Schimbare automată a tastaturii</string>
|
||||
<string name="kp2a_switch_rooted_summary">Comutare automată la tastatura KP2A la deschiderea intrării. Necesită plugin-ul KeyboardSwap corect configurat sau unu dispozitiv cu access la root și a aplicației Secure Settings cu System+.</string>
|
||||
<string name="get_keyboardswap">Instalare Plugin KeyboardSwap</string>
|
||||
<string name="get_keyboardswap_summary">Acest plugin permite comutarea la tastatura KP2A fără root. Necesită ADB. </string>
|
||||
<string name="OpenKp2aKeyboardAutomaticallyOnlyAfterSearch_title">Comută automat tastatura doar după căutare</string>
|
||||
<string name="OpenKp2aKeyboardAutomaticallyOnlyAfterSearch_summary">Comută automat la tastatura KP2A doar după utilizarea funcției Share URL (și nu când se deschide o înregistrare în alt fel)</string>
|
||||
<string name="AutoSwitchBackKeyboard_title">Comutare înapoi la tastatură</string>
|
||||
<string name="AutoSwitchBackKeyboard_summary">Comută la tastatura precedentă când nici o înregistrare este deschisă.</string>
|
||||
<string name="ShowUnlockedNotification_title">Notificare cât timp e deblocat</string>
|
||||
<string name="ShowUnlockedNotification_summary">Afişează o notificare în timp ce baza de date este deblocată.</string>
|
||||
<string name="IconVisibilityInfo_Android8_text">Android 8 a introdus un nou comportament pentru notificări. Dacă dorești să ascunzi pictograma pentru notificările KeepAss2android, configurează acest lucru în setările sistemului. Setează importanța categoriei de notificări la minimum.</string>
|
||||
<string name="IconVisibilityInfo_Android8_btnSettings">Deschide setările</string>
|
||||
<string name="PostNotificationsPermissionInfo_text">Keepass2Android poate afișa o notificare de sistem în timp ce baza ta de date nu este blocată. Pentru ca acest lucru să funcționeze, acordă permisiunea.</string>
|
||||
<string name="DontCare">Nu-mi pasă</string>
|
||||
<string name="DocumentAccessRevoked">Fișierul nu mai este accesibil pentru KeepAss2android. Fie a fost eliminat, fie permisiunile de acces au fost revocate. Utilizează redeschiderea fișierului, de ex. folosind Schimbarea bazei de date.</string>
|
||||
<string name="PreloadDatabaseEnabled_title">Pre-încarcă fişierul bază de date</string>
|
||||
<string name="PreloadDatabaseEnabled_summary">Începe încărcarea sau descărcarea în fundal în timp ce se introduce parola.</string>
|
||||
<string name="SyncAfterQuickUnlock_title">Sincronizare după QuickUnlock</string>
|
||||
<string name="SyncAfterQuickUnlock_summary">Sincronizează baza de date cu fișierul de la distanță după deblocarea cu QuickUnlock.</string>
|
||||
<string name="AskOverwriteBinary">Doriţi să suprascrieţi binarul existent folosind acelaşi nume?</string>
|
||||
<string name="AskOverwriteBinary_title">Suprascrieţi binarul existent?</string>
|
||||
<string name="AskOverwriteBinary_yes">Suprascrie</string>
|
||||
@@ -434,10 +466,19 @@
|
||||
<string name="SynchronizingDatabase">Se îmbină modificările…</string>
|
||||
<string name="YesSynchronize">Da, îmbină</string>
|
||||
<string name="NoOverwrite">Nu, suprascrie</string>
|
||||
<string name="UseOfflineMode">Funcționare doar cu cache intern</string>
|
||||
<string name="UseOnlineMode">Sincronizează copia cache cu sursa</string>
|
||||
<string name="InOfflineMode">Funcționare doar cu cache intern.</string>
|
||||
<string name="SynchronizingCachedDatabase">Sincronizează baza de date din cache…</string>
|
||||
<string name="DownloadingRemoteFile">Se încarcă fișierul sursă…</string>
|
||||
<string name="UploadingFile">Salvează fișierul…</string>
|
||||
<string name="RestoringRemoteFile">Se restaurează fișierul sursă…</string>
|
||||
<string name="FilesInSync">Fişierele sunt sincronizate.</string>
|
||||
<string name="SynchronizedDatabaseSuccessfully">Baza de date s-a sincronizat cu succes!</string>
|
||||
<string name="CheckingDatabaseForChanges">Se verifică baza de date pentru modificări…</string>
|
||||
<string name="UpdatedRemoteFileOnLoad">Fișier sursă actualizat.</string>
|
||||
<string name="LoadedFromRemoteInSync">Fișierul sursă și cache-ul sunt sincronizate.</string>
|
||||
<string name="UpdatedCachedFileOnLoad">S-a actualizat copia internă a cache-ului %1$s.</string>
|
||||
<string name="RemoteDatabaseUnchanged">Nu s-au detectat modificări.</string>
|
||||
<string name="SynchronizingOtpAuxFile">Se sincronizează fișierul auxiliar OTP…</string>
|
||||
<string name="database_file">fișier bază de date</string>
|
||||
@@ -460,9 +501,23 @@
|
||||
<string name="hint_sftp_host">host (ex: 192.168.0.1)</string>
|
||||
<string name="hint_sftp_port">port</string>
|
||||
<string name="initial_directory">Folder inițial (opțional):</string>
|
||||
<string name="connect_timeout">Secunde expirare conexiune (opțional)</string>
|
||||
<string name="enter_sftp_login_title">Introduceţi datele de conectare SFTP:</string>
|
||||
<string name="sftp_auth_mode">Mod autentificare</string>
|
||||
<string name="send_public_key">Trimite cheia publică...</string>
|
||||
<string name="select_private_keyfile">Selectează cheia privată...</string>
|
||||
<string name="hint_sftp_key_name">Nume cheie nouă</string>
|
||||
<string name="hint_sftp_key_content">Conținut cheie nouă</string>
|
||||
<string name="private_key_saved">Cheie privată salvată</string>
|
||||
<string name="private_key_save_failed">Salvarea cheii private a eșuat: %1$s</string>
|
||||
<string name="private_key_info">Introduc numele cheii și conținutul pentru a salva</string>
|
||||
<string name="private_key_delete">Cheie privată ștearsă: %1$s</string>
|
||||
<string name="private_key_delete_failed">Ștergerea cheii private a eșuat: %1$s</string>
|
||||
<string name="save_key">Salvează cheia privată</string>
|
||||
<string name="delete_key">Ștergere cheie privată</string>
|
||||
<string name="private_key_select">Selectează cheia privată</string>
|
||||
<string name="private_key_create_new">[Adaugă nou...]</string>
|
||||
<string name="hint_sftp_key_passphrase">Frază de acces pentru cheie (opțională)</string>
|
||||
<string name="enter_ftp_login_title">Introdu datele de conectare FTP:</string>
|
||||
<string name="select_storage_type">Selectaţi tipul de stocare:</string>
|
||||
<string name="filestoragename_file">Fişier local</string>
|
||||
@@ -477,12 +532,15 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (folder KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Dacă nu doriți să dați KP2A acces la Dropbox-ul complet, puteți selecta această opțiune. Va solicita acces doar la directorul Apps/Keepass2Android. Acest lucru este potrivit în special atunci când se creează o bază de date nouă. Dacă aveţi deja o bază de date, selectaţi această opţiune pentru a crea directorul, apoi plasați fișierul în director (de la PC) și apoi selectați din nou această opțiune pentru deschiderea fișierului.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (fișiere KP2A)</string>
|
||||
<string name="filestoragename_pcloudall">PCloud (Acces complet)</string>
|
||||
<string name="filestoragename_onedrive">OneDrive</string>
|
||||
<string name="filestoragename_onedrive2">OneDrive</string>
|
||||
<string name="filestoragename_onedrive2_full">Toate fișierele și fișierele partajate</string>
|
||||
<string name="filestoragename_onedrive2_myfiles">Fișierele mele</string>
|
||||
<string name="filestoragename_onedrive2_appfolder">Directorul Keepass2Android App</string>
|
||||
<string name="filestoragename_sftp">SFTP (SSH File Transfer)</string>
|
||||
<string name="filestoragename_mega">MEGA</string>
|
||||
<string name="filestoragename_content">Selector de fisiere sistem</string>
|
||||
<string name="filestorage_setup_title">Iniţializare acces fişier</string>
|
||||
<string name="database_location">Locaţie bază de date</string>
|
||||
@@ -509,6 +567,8 @@
|
||||
<string name="OtpKeyError">Imposibil de creat cheia OTP! Asigură-te că ai introdus OTP-urile corecte.</string>
|
||||
<string name="ErrorUpdatingOtpAuxFile">Eroare în actualizare fișier auxiliar OTP!</string>
|
||||
<string name="SavingOtpAuxFile">Se salvează fișierul auxiliar OTP…</string>
|
||||
<string name="PleaseInstallApp">Instalează %1$s de pe Google Play.</string>
|
||||
<string name="AppOutdated">%1$s nu mai este suportat.</string>
|
||||
<string name="bad_resp">Răspunsul la provocare este incorect.</string>
|
||||
<string name="CouldntLoadChalAuxFile">Nu se poate încărca fișierul auxiliar de provocare!</string>
|
||||
<string name="CouldntLoadChalAuxFile_Hint">Vă rugăm să folosiți plugin-ul KeeChallenge în KeePass 2,x (PC) pentru a configura data de baze cu răspunsuri-provocare!</string>
|
||||
@@ -527,6 +587,7 @@
|
||||
<string name="plugin_disabled">dezactivat</string>
|
||||
<string name="plugin_web">Caută plugin-uri online</string>
|
||||
<string name="plugin_scopes">Domenii</string>
|
||||
<string name="not_enabled">nu este activat</string>
|
||||
<string name="query_credentials_for_url">%1$s solicită date de login pentru %2$s.</string>
|
||||
<string name="query_credentials">%1$s solicită date de login. Selectează o înregistrare.</string>
|
||||
<string name="plugin_enabled_checkbox">Activat</string>
|
||||
@@ -547,7 +608,9 @@
|
||||
<string name="CopyFileRequired">Pentru a-l folosi, trebuie copiat într-o altă locație.</string>
|
||||
<string name="CopyFileRequiredForEditing">Pentru a-l edita, trebuie copiat fișierul într-o altă locație.</string>
|
||||
<string name="FileReadOnlyTitle">Baza de date permite doar citirea</string>
|
||||
<string name="FileReadOnlyMessagePre">Keepass2Android a deschis baza de date curentă în modul doar pentru citire.</string>
|
||||
<string name="ReadOnlyReason_PreKitKat">Se pare ca ai deschis fişierul dintr-o aplicaţie externă. În acest fel nu se acceptă modificări. Dacă doriţi să faceţi modificări în baza de date, închideţi baza de date şi selectaţi Schimbare bază de date. Apoi deschide fisierul folosind una dintre opţiunile disponibile.</string>
|
||||
<string name="ReadOnlyReason_ReadOnlyFlag">Steagul doar-în-citire este setat. Elimină-l dacă dorești să faci modificări în baza de date.</string>
|
||||
<string name="ReadOnlyReason_ReadOnlyKitKat">Modificarea nu este posibilă din cauza restricţiilor introduse în Android KitKat. Dacă doriţi să faceţi modificări în baza de date, închideți baza de date şi selectaţi Schimbare bază de date. Apoi deschide fisierul folosind selectorul de fisiere al sistemului.</string>
|
||||
<string name="AddCustomIcon">Adaugă pictogramă din file...</string>
|
||||
<string name="CopyingFile">Se copiază fișierul...</string>
|
||||
@@ -571,10 +634,12 @@
|
||||
<string name="TemplateTitle_Membership">Apartenenta</string>
|
||||
<string name="ChangeLog_title">Jurnal modificări</string>
|
||||
<string name="AskAddTemplatesTitle">Adauga template-uri?</string>
|
||||
<string name="AskAddTemplatesMessage">Keepass2Android conține șabloane de intrare pentru conturi de e-mail, parole wireless-LAN, note sigure și multe altele. Dorești să le adaugi în baza de date? Dacă alegi Nu, le poți adăuga mai târziu în setările bazei de date.</string>
|
||||
<string name="AddTemplates_pref">Adauga template-uri in baza de date</string>
|
||||
<string name="Continue">Continuare</string>
|
||||
<string name="NoFilenameWarning">URI introdus nu arata ca un nume de file. Sunteţi sigur că acesta este un file valid?</string>
|
||||
<string name="FirstInvalidCompositeKeyError">Cheie compusă invalidă! Vă rugăm să încercaţi din nou.</string>
|
||||
<string name="open_other_db">Deschide o altă bază de date…</string>
|
||||
<string name="select_database">Selectați baza de date</string>
|
||||
<string name="unspecified">nespecificat</string>
|
||||
<string name="child_db_enabled_on_this_device">Activat pe acest dispozitiv</string>
|
||||
@@ -586,8 +651,34 @@
|
||||
<string name="child_db_Enabled_title">Deschide automat</string>
|
||||
<string name="database_file_heading">Fișier bază de date</string>
|
||||
<string name="if_device_text">Activează pentru %1$s</string>
|
||||
<string name="restore_history">Restaurează această versiune</string>
|
||||
<string name="remove_history">Elimină această versiune</string>
|
||||
<string name="DbUnlockedChannel_name">Bază de date deblocată</string>
|
||||
<string name="DbUnlockedChannel_desc">Notificare despre deblocarea bazei de date</string>
|
||||
<string name="DbQuicklockedChannel_name">QuickUnlock</string>
|
||||
<string name="DbQuicklockedChannel_desc">Notificare despre blocarea bazei de date cu QuickUnlock</string>
|
||||
<string name="EntryChannel_name">Notificări intrare</string>
|
||||
<string name="EntryChannel_desc">Notificare pentru simplificarea accesului la intrarea selectată în prezent.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Închide baza de date după trei încercări de deblocare biometrică eșuate.</string>
|
||||
<string name="WarnFingerprintInvalidated">Avertizare! Autentificarea biometrică poate fi invalidată de Android, de ex. după adăugarea unei amprente noi în setările dispozitivului. Asigură-te că știi întotdeauna cum să deblochezi cu parola principală!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Upgraded from Xamarin Android to .net 8</item>
|
||||
<item>Upgraded to Target SDK 34</item>
|
||||
<item>Upgraded to Material 3 user interface</item>
|
||||
<item>Improve autofill to work with Compose apps</item>
|
||||
<item>Fix hostname matching in autofill and search</item>
|
||||
<item>S-a reparat problema cu generatorul de parole</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Added floating action buttons for search and TOTP overview (if TOTP entries are present).</item>
|
||||
<item>Improved display of TOTP fields by adding a timeout indicator and showing it more prominently.</item>
|
||||
<item>TOTP can now be seen from the group view.</item>
|
||||
<item>Copy text value to clipboard on long-press in entry view.</item>
|
||||
<item>Make TOTP more easily accessible on the built-in keyboard.</item>
|
||||
<item>Show entry notification when autofilling a TOTP entry. This allows to copy the TOTP to clipboard. See preferences to configure the behavior.</item>
|
||||
<item>Updated TOTP implementation to resolve compatibility issues with KeePass2 and TrayTOTP</item>
|
||||
<item>Îmbunătățiri minore</item>
|
||||
</string-array>
|
||||
<string name="ChangeLog_keptDonate">Posibilitate extinsă de a dona o bere sau altceva</string>
|
||||
<string-array name="clipboard_timeout_options">
|
||||
<item>30 de secunde</item>
|
||||
@@ -612,9 +703,14 @@
|
||||
<string-array name="design_options">
|
||||
<item>Luminoasă</item>
|
||||
<item>Întunecată</item>
|
||||
<item>System settings</item>
|
||||
<item>Setări de sistem</item>
|
||||
</string-array>
|
||||
<string name="design_title">Design</string>
|
||||
<string-array name="ftp_encryption_modes">
|
||||
<item>Fără criptare (FTP)</item>
|
||||
<item>Criptare implicită (FTP peste TLS, FTPS)</item>
|
||||
<item>Criptare explicită (FTP prin TLS, FTPS)</item>
|
||||
</string-array>
|
||||
<string-array name="cred_remember_modes">
|
||||
<item>Nu reține numele utilizator și parola</item>
|
||||
<item>Reține doar numele de utilizator</item>
|
||||
@@ -627,28 +723,55 @@
|
||||
<item>Parolă + OTP secret (modul de recuperare)</item>
|
||||
<item>Parolă + Challenge-Response</item>
|
||||
<item>Parolă + Challenge-Response secret (modul de recuperare)</item>
|
||||
<item>Password + Challenge-Response for Keepass XC</item>
|
||||
<item>Password + Key file + Challenge-Response for Keepass XC</item>
|
||||
<item>Parolă + provocare-răspuns pentru Keepass XC</item>
|
||||
<item>Parolă + fișier cheie + provocare-răspuns pentru Keepass XC</item>
|
||||
</string-array>
|
||||
<string-array name="sftp_auth_modes">
|
||||
<item>Parolă</item>
|
||||
<item>KP2A Private/Public key</item>
|
||||
<item>Custom Private key</item>
|
||||
<item>Cheie Privată/Publică KP2A</item>
|
||||
<item>Cheie privată personalizată</item>
|
||||
</string-array>
|
||||
<string-array name="AcceptAllServerCertificates_options">
|
||||
<item>Ignoră eșecuri de validare a certificatului</item>
|
||||
<item>Avertizează când validarea eșuează</item>
|
||||
<item>Nu accepta certificate invalide</item>
|
||||
</string-array>
|
||||
<string name="ClearClipboardWarning">Asigură-te că aceasta funcționează pe sistemul tău, dacă nu, ia în considerare folosirea tastaturii încorporate.</string>
|
||||
<string name="PluginDescription">Descrierea furnizată de plugin:</string>
|
||||
<string name="autofill_hint">Keepass2Android suportă caracteristica de completare automată a Android, dar se pare că nu ai activat-o încă.</string>
|
||||
<string name="autofill_enable">Activare autocompletare</string>
|
||||
<string name="autofill_enable_failed">Ne pare rău, se pare că dispozitivul nu acceptă deschiderea setărilor din interiorul aplicației. Accesează manual setările de sistem pentru completare automată pentru a activa serviciul.</string>
|
||||
<string name="show_autofill_help">Afișează ajutorul pentru completarea automată</string>
|
||||
<string name="autofill_sign_in_prompt">Completează cu Keepass2Android</string>
|
||||
<string name="autofill_disable">Dezactivează completarea automată pentru %1$s</string>
|
||||
<string name="autofill_enable_for">Activează completare automată pentru %1$s</string>
|
||||
<string name="invalid_link_association">Domeniul web %1$s nu a putut fi asociat cu aplicația %2$s</string>
|
||||
<string name="enable_fingerprint_hint">Keepass2Android a detectat dispozitive biometrice. Doriţi să activaţi deblocarea biometrică pentru această bază de date?</string>
|
||||
<string name="post_notifications_dialog_title">Permite notificări</string>
|
||||
<string name="post_notifications_dialog_message">Keepass2Android poate afișa notificări cu butoane pentru a copia valori cum ar fi parole și coduri TOTP în clipboard, sau pentru a aduce tastatura integrată. Acest lucru este util pentru a transfera valori în alte aplicații fără a trece la Keepass2Android în mod repetat. Doriești să activezi astfel de notificări?</string>
|
||||
<string name="post_notifications_dialog_allow">Permite notificări</string>
|
||||
<string name="post_notifications_dialog_disable">Dezactivează această caracteristică</string>
|
||||
<string name="post_notifications_dialog_notnow">Nu acum</string>
|
||||
<string name="understand">Am înțeles</string>
|
||||
<string name="dont_show_again">Nu mai afișa</string>
|
||||
<string name="masterkey_infotext_head">Îți amintești parola principală?</string>
|
||||
<string name="masterkey_infotext_main">Reține că nu vei putea deschide baza de date fără cheia principală. Nu există nici o modalitate de a \"reseta\" parola principală.</string>
|
||||
<string name="masterkey_infotext_fingerprint_note">De asemenea, rețineți că Deblocarea biometrică funcționează prin stocarea cheii principale în spațiul de stocare securizat Android. Această stocare poate fi ștearsă de Android în orice moment, de ex. dacă adăugați o nouă amprentă în setările sistemului. Așa că nu vă bazați pe deblocarea biometrică ci retineți parola principală, vă rog!</string>
|
||||
<string name="backup_infotext_head">S-a creat o copie de rezervă pentru baza de date?</string>
|
||||
<string name="backup_infotext_main">Keepass2Android stochează parolele într-un fișier într-o locație la alegerea ta. Ești sigur că încă poți accesa acest fișier atunci când telefonul este pierdut sau furat sau când fișierul este distrus sau șters? Asigură-te că ai întotdeauna o copie de rezervă actualizată într-un loc sigur!</string>
|
||||
<string name="backup_infotext_note">Pentru a crea o copie de rezervă acum, accesează %1$s > %2$s > %3$s.</string>
|
||||
<string name="emergency_infotext_head">Ești pregătit pentru cazuri de urgență?</string>
|
||||
<string name="emergency_infotext_main">Te-ai gândit vreodată ce se întâmplă dacă nu mai poți accesa baza de date a parolelor? Ce se întâmplă dacă ai un accident? Este o bună practică să transmiți cheia principală unei persoane de încredere pentru cazuri de urgență. În caz contrar, nimeni nu va avea acces la parole.</string>
|
||||
<string name="no_secure_display">Afișajul valabil în prezent nu este marcat ca fiind sigur. Aceasta înseamnă că capturile de ecran ar putea fi luate de alte aplicații. Keepass2Android este configurat pentru a afișa informații sensibile doar pe afișaje securizate. Schimbă la un afișaj securizat (de exemplu, detașând un monitor HDMI) sau modifică setările aplicației.</string>
|
||||
<string name="disable_secure_screen_check">Dezactivează acest mesaj</string>
|
||||
<string name="switch_ime_text">Activează tastatura Keepass2Android.</string>
|
||||
<string name="switch_ime_reopen">Reîncercați</string>
|
||||
<string name="AutofillWarning_title">Alertă de securitate: Link nerecunoscut domeniu/aplicație</string>
|
||||
<string name="AutofillWarning_Intro">Sunteți pe cale de a insera datele de autentificare pentru domeniul \"%1$s\" în aplicația \"%2$s\".</string>
|
||||
<string name="AutofillWarning_FillDomainInUntrustedApp">Dacă aveți încredere că \"%2$s\" aparține la \"%1$s\" sau dacă aveți încredere în aplicația \"%2$s\" să nu abuzeze de datele de autentificare (de ex. deoarece este o aplicație de încredere pentru browser), este in regulă să continuați. Dacă nu, vă rugăm să anulați.</string>
|
||||
<string name="AutofillWarning_trustAsBrowser">Acceptați întotdeauna în \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Comută înapoi când ai terminat</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Comută înapoi după apăsarea trimitere/înainte/terminat</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">Scanarea codului QR necesită servicii Google Play. Instalează sau actualizează serviciile Google Play de pe dispozitiv.</string>
|
||||
<string name="english_ime_settings">Setările tastaturii Keepass2Android</string>
|
||||
</resources>
|
||||
|
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (priečinok KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Túto voľbu môžete aktivovať ak udelíte KP2A prístup do celého Dropboxu. Vyžaduje sa prístup iba do priečinka Apps/Keepass2Android. Je to osobitne vhodné pri vytváraní novej databázy. Ak už máte databázu, tak aktivovaním tejto voľby vytvoríte priečinok, potom premiestnite súbor do priečinka (zo svojho PC) a potom znovu aktivujte voľbu, pre otvorenie súboru.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Pamätajte na to, že: Google čoraz viac obmedzuje prístup ku Google Drive z aplikácií. Ak vám nefunguje zabudovaná integrácia s Google Drive, použite výber súboru priamo v systéme a vyberte Google Drive tam!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (súbory KP2A)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Ak nechcete poskytnúť KP2A prístup k celému úložisku Google Drive, môžete vybrať túto možnosť. Pamätajte na to, že najskôr musíte vytvoriť súbor s databázou, existujúce súbory aplikácia neuvidí. Buď vyberte takúto možnosť z obrazovky pre vytvorenie databázy, alebo už otvorenú databázu exportujte vybratím tejto možnosti.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (priečinok KP2A)</string>
|
||||
@@ -719,6 +720,20 @@
|
||||
<string name="EntryChannel_desc">Notifikácia na zjednodušenie prístupu k práve vybranému záznamu.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Zavrieť databázu po troch neúspešných odomykaniach s biometriou</string>
|
||||
<string name="WarnFingerprintInvalidated">Varovanie! Biometrická autentifikácia môže byť zneplatnená systémom Android, nap. po pridaní nového odtlačku prsta do nastavení zariadenia. Vždy sa uistite, že viete ako odomknúť zariadenia primárnym heslom.</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Aktualizácia z Xamarin Android na .net 8</item>
|
||||
<item>Aktualizované na Target SDK 34</item>
|
||||
<item>Aktualizované na používateľské rozhranie Material 3</item>
|
||||
<item>Vylepšené automatické dopĺňanie kvôli fungovaniu s aplikáciami Compose</item>
|
||||
<item>Oprava zhody mena hostiteľa v automatickom dopĺňaní a vyhľadávaní</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Aktualizované na OneDrive SDK, verziu 5.68</item>
|
||||
<item>Aktualizované SDK na verziu 7.0.0</item>
|
||||
<item>Aktualizácia Gradle, NewtonsoftJson, FluentFTP, MegaApiClient a okhttp</item>
|
||||
<item>Oprava chyby pri výbere súboru vo WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Pridané plávajúce tlačidlá pre vyhľadávanie a prehľad o TOTP (ak sú prítomné záznamy s TOTP).</item>
|
||||
<item>Zlepšené zobrazenie polí pre TOTP, pridaním časového limitu a vyraznejšieho zobrazenia.</item>
|
||||
@@ -1186,5 +1201,6 @@
|
||||
<string name="AutofillWarning_trustAsBrowser">Vždy súhlasiť v \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Po dokončení prepnúť späť</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Po stlačení Odoslať/Prejsť/Hotovo prejsť späť</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">Na skenovanie QR kódov sú potrebné služby Google Play. Nainštalujte alebo aktualizujte si ich vo vašom zariadení.</string>
|
||||
<string name="english_ime_settings">Nastavenia klávesnice Keepass2Android</string>
|
||||
</resources>
|
||||
|
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (mapa KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Če dostopa KP2A ne želite dati celemu Dropboxu, lahko izberete to možnost. Zahtevala bo samo dostop do mape Apps/Keepass2Android. To je posebej primerno ob ustvarjanju nove podatkovne zbirke. Če jo že imate, tapnite na to možnost, da ustvarite mapo, v njo vstavite svojo datoteko (iz računalnika) in ponovno izberete to možnost, da datoteko odprete.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Opomba: Google omejuje dostop do storitve Google Drive iz aplikacij za vse več uporabnikov. Če vgrajena implementacija Googlovega pogona ne deluje, uporabite sistemski izbirnik datotek in tam izberite Googlov pogon!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (KP2A datoteke)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Če KP2A ne želite omogočiti dostopa do celotnega Google Drive, lahko izberete to možnost. Upoštevajte, da morate najprej ustvariti novo datoteko baze podatkov, obstoječe datoteke niso vidne aplikaciji. To možnost izberite na zaslonu Ustvari bazo podatkov ali, če ste že odprli bazo podatkov, izvozite bazo podatkov in izberete to možnost.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (KP2A mapa)</string>
|
||||
@@ -719,6 +720,20 @@
|
||||
<string name="EntryChannel_desc">Obvestilo o enostavnem dostopu do trenutno izbranega vnosa.</string>
|
||||
<string name="CloseDbAfterFailedAttempts">Zaprite bazo podatkov po treh neuspelih poskusih biometričnega odklepanja.</string>
|
||||
<string name="WarnFingerprintInvalidated">Opozorilo! Biometrično overjanje lahko Android razveljavi, npr. po dodajanju novega prstnega odtisa v nastavitvah naprave. Poskrbite, da boste vedno vedeli odkleniti z glavnim geslom!</string>
|
||||
<string-array name="ChangeLog_1_12">
|
||||
<item>Nadgradnja z Xamarin Android na .net 8</item>
|
||||
<item>Nadgrajeno na SDK 34</item>
|
||||
<item>Nadgrajen na uporabniški vmesnik Material 3</item>
|
||||
<item>Izboljšanje samodejnega izpolnjevanja za delovanje z aplikacijami Compose</item>
|
||||
<item>Popravek ujemanja gostiteljskega imena v samodejnem izpolnjevanju in iskanju</item>
|
||||
<item>Odpravljena težava z generatorjem gesel</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Nadgradnja OneDrive SDK na različico 5.68</item>
|
||||
<item>Nadgrajen Dropbox SDK na različico 7.0.0</item>
|
||||
<item>Nadgrajeni Gradle, NewtonsoftJson, FluentFTP, MegaApiClient in okhttp</item>
|
||||
<item>Popravek napake pri izbiri datotek WebDav</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_11">
|
||||
<item>Dodani so plavajoči gumbi za iskanje in pregled TOTP (če so prisotni vnosi TOTP).</item>
|
||||
<item>Izboljšanje prikaza polj TOTP z dodajanjem kazalnika časovne omejitve in njegovim vidnejšim prikazom.</item>
|
||||
@@ -1184,5 +1199,6 @@
|
||||
<string name="AutofillWarning_trustAsBrowser">Sprejmi vedno v \"%1$s\"</string>
|
||||
<string name="kp2a_switch_on_sendgodone">Preklopi nazaj, ko je končano</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">Preklopi nazaj, ko pritisnete gumb za pošiljanje/prehajanje/končano</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">Za optično branje kode QR so potrebne storitve Google Play. V svojo napravo namestite ali posodobite storitve Google Play.</string>
|
||||
<string name="english_ime_settings">Nastavitve tipkovnice Keepass2Android</string>
|
||||
</resources>
|
||||
|
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox (thư mục KP2A)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">Nếu bạn không muốn cấp cho KP2A quyền truy cập vào Dropbox đầy đủ của mình, bạn có thể chọn tùy chọn này. Nó sẽ chỉ yêu cầu quyền truy cập vào thư mục Apps/Keepass2Android. Điều này đặc biệt phù hợp khi tạo cơ sở dữ liệu mới. Nếu bạn đã có cơ sở dữ liệu, hãy chọn tùy chọn này để tạo thư mục, sau đó đặt tệp của bạn bên trong thư mục (từ PC của bạn) và sau đó chọn lại tùy chọn này để mở tệp.</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">Xin lưu ý: Google ngày càng giới hạn quyền truy cập Google Drive của các ứng dụng đối với nhiều người dùng hơn. Nếu mục Google Drive không dùng được, hãy chọn Trình chọn tập tin của hệ thống sau đó chọn mục Google Drive!</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (tệp KP2A)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">Nếu bạn không muốn cấp cho KP2A quyền truy cập vào Google Drive đầy đủ của mình, bạn có thể chọn tùy chọn này. Lưu ý rằng trước tiên bạn cần tạo tệp cơ sở dữ liệu, các tệp hiện có sẽ không hiển thị với ứng dụng. Chọn tùy chọn này từ màn hình Tạo cơ sở dữ liệu hoặc, nếu bạn đã mở cơ sở dữ liệu, bằng cách xuất cơ sở dữ liệu chọn tùy chọn này.</string>
|
||||
<string name="filestoragename_pcloud">PCloud (thư mục KP2A)</string>
|
||||
@@ -672,6 +673,26 @@
|
||||
<string name="Continue">Tiếp tục</string>
|
||||
<string name="NoFilenameWarning">URI bạn đã nhập không có dạng tên tập tin. Bạn có chắc chắn đây là tập tin hợp lệ không?</string>
|
||||
<string name="FirstInvalidCompositeKeyError">Khoá hỗn hợp không hợp lệ. Xin thử lại.</string>
|
||||
<string name="RepeatedInvalidCompositeKeyHelp"> Khoá tổng hợp không hợp lệ! Hãy thử các bước sau để mở khoá cơ sở dữ liệu của bạn:\n
|
||||
|
||||
• Nhập đúng mật khẩu. Ấn vào biểu tượng con mắt để hiện mật khẩu đã nhập.\n
|
||||
• Chọn đúng loại mật khẩu. Loại mật khẩu phải giống với loại mật khẩu đã chọn khi tạo cơ sở dữ liệu.\n
|
||||
• Chọn đúng tập tin cơ sở dữ liệu.
|
||||
</string>
|
||||
<string name="HintLocalBackupInvalidCompositeKey"> \n
|
||||
• Gợi ý: Nếu bạn nghĩ rằng tập tin cơ sở dữ liệu bị hỏng hoặc bạn đã quên khoá chính sau khi thay đổi nó, bạn có thể nhấn \"%1$s\" và chọn bản sao lưu cục bộ để mở phiên bản tập tin được mở thành công gần đây nhất.
|
||||
</string>
|
||||
<string name="HintLocalBackupOtherError"> \n
|
||||
• Gợi ý: Keepass2Android đã lưu trữ phiên bản tập tin được mở thành công gần đây nhất trên bộ nhớ trong. Bạn có thể mở nó bằng cách nhấn vào \"%1$s\" và chọn bản sao lưu cục bộ.
|
||||
</string>
|
||||
<string name="CorruptDatabaseHelp"> Tập tin bị hỏng. \n
|
||||
Có một số mẹo giúp chẩn đoán vấn đề như sau:\n
|
||||
|
||||
• Nếu bạn sao chép tập tin qua USB (sử dụng chế độ MTP), hãy thử sao chép lại bằng một phần mềm như MyPhoneExplorer. Trong một số trường hợp, MTP có thể cắt bớt nội dung tập tin.\n
|
||||
• Nếu không mở được tập tin ở cùng một vị trí trên máy tính, rất có thể tập tin đó thực sự bị hỏng. Trong trường hợp này, hãy sử dụng một bản sao lưu cơ sở dữ liệu. Nếu bạn nghi ngờ rằng Keepass2Android làm hỏng tập tin, hãy liên hệ với bộ phận hỗ trợ.\n
|
||||
• Nếu tập tin vẫn mở được bằng máy tính, hãy liên hệ với bộ phận hỗ trợ. Bạn có thể thử lưu lại tập tin trên máy tính với cài đặt khác (ví dụ như không nén) sau đó thử mở lại bằng Keepass2Android.
|
||||
|
||||
</string>
|
||||
<string name="open_other_db">Mở cơ sở dữ liệu khác…</string>
|
||||
<string name="select_database">Chọn cơ sở dữ liệu</string>
|
||||
<string name="configure_child_dbs">Định cấu hình cơ sở dữ liệu con…</string>
|
||||
|
@@ -546,6 +546,7 @@
|
||||
<string name="filestoragename_dropboxKP2A">Dropbox(KP2A 文件夹)</string>
|
||||
<string name="filestoragehelp_dropboxKP2A">如果您不想让 KP2A 访问整个 Dropbox,您可以选中此选项。它将只有访问 Apps/Keepass2Android 文件夹的权限。特别适合创建一个新的数据库。如果您已经有一个数据库,触击此选项将创建该新文件夹,然后将您在电脑上的数据库文件放在此文件夹内,然后再选该选项,以打开该文件。</string>
|
||||
<string name="filestoragename_gdrive">Google Drive</string>
|
||||
<string name="filestoragehelp_gdrive">请注意:谷歌正在限制越来越多的用户从应用程序访问Google Drive。 如果内置的 Google Drive 实现无法正常工作,请使用系统文件选择器并在那里选择 Google Drive !</string>
|
||||
<string name="filestoragename_gdriveKP2A">Google Drive (KP2A文件)</string>
|
||||
<string name="filestoragehelp_gdriveKP2A">如果您不想给予KP2A对您Google Drive的完整访问权,您可以选择此选项。 请注意,您需要先创建一个数据库文件,现有文件对本应用不可见。 您可以从“创建数据库”屏幕中选择此选项,或者选择此选项导出数据库,前提是您已经打开了一个数据库。</string>
|
||||
<string name="filestoragename_pcloud">PCloud (KP2A 文件夹)</string>
|
||||
@@ -1158,5 +1159,6 @@ Initial public release
|
||||
<string name="AutofillWarning_trustAsBrowser">总是在 \"%1$s 中接受</string>
|
||||
<string name="kp2a_switch_on_sendgodone">完成后切换回来</string>
|
||||
<string name="kp2a_switch_on_sendgodone_summary">按下发送/转到/完成时切换回来</string>
|
||||
<string name="qr_scanning_error_no_google_play_services">二维码扫描需要 Google Play 服务。请在您的设备上安装或更新 Google Play 服务。</string>
|
||||
<string name="english_ime_settings">键盘设置</string>
|
||||
</resources>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
<color name="md_theme_onError">#FFFFFF</color>
|
||||
<color name="md_theme_errorContainer">#FFDAD6</color>
|
||||
<color name="md_theme_onErrorContainer">#410002</color>
|
||||
<color name="md_theme_background">#F9FAEF</color>
|
||||
<color name="md_theme_background">#F9F9F9</color>
|
||||
<color name="md_theme_onBackground">#1A1C16</color>
|
||||
<color name="md_theme_surface">#F5FAFB</color>
|
||||
<color name="md_theme_onSurface">#171D1E</color>
|
||||
|
@@ -733,6 +733,7 @@
|
||||
<item>Upgraded to Material 3 user interface</item>
|
||||
<item>Improve autofill to work with Compose apps</item>
|
||||
<item>Fix hostname matching in autofill and search</item>
|
||||
<item>Fix issue with password generator</item>
|
||||
</string-array>
|
||||
<string-array name="ChangeLog_1_12_net">
|
||||
<item>Upgraded OneDrive SDK to version 5.68</item>
|
||||
|
@@ -27,6 +27,7 @@ using KeePassLib.Serialization;
|
||||
using Console = System.Console;
|
||||
using Object = Java.Lang.Object;
|
||||
using AndroidX.Core.Content;
|
||||
using Uri = Android.Net.Uri;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@@ -302,9 +303,23 @@ namespace keepass2android
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (Intent.Action == Intent.ActionView)
|
||||
{
|
||||
GetIocFromViewIntent(Intent);
|
||||
if (IsOtpUri(Intent.Data))
|
||||
{
|
||||
AppTask = new CreateEntryThenCloseTask()
|
||||
{
|
||||
AllFields = Newtonsoft.Json.JsonConvert.SerializeObject(new Dictionary<string, string>()
|
||||
{
|
||||
{ "otp", Intent.DataString }
|
||||
})
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
GetIocFromViewIntent(Intent);
|
||||
}
|
||||
}
|
||||
else if (Intent.Action == Intent.ActionSend)
|
||||
{
|
||||
@@ -334,6 +349,11 @@ namespace keepass2android
|
||||
|
||||
}
|
||||
|
||||
private bool IsOtpUri(Uri? uri)
|
||||
{
|
||||
return uri?.Scheme == "otpauth";
|
||||
}
|
||||
|
||||
protected override void OnStart()
|
||||
{
|
||||
base.OnStart();
|
||||
@@ -372,7 +392,7 @@ namespace keepass2android
|
||||
if (ioc.Path.Length == 0)
|
||||
{
|
||||
// No file name
|
||||
Toast.MakeText(this, Resource.String.FileNotFound, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.FileNotFound, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -380,7 +400,7 @@ namespace keepass2android
|
||||
if (!dbFile.Exists())
|
||||
{
|
||||
// File does not exist
|
||||
Toast.MakeText(this, Resource.String.FileNotFound, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.FileNotFound, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -388,7 +408,7 @@ namespace keepass2android
|
||||
{
|
||||
if (!ioc.Path.StartsWith("content://"))
|
||||
{
|
||||
Toast.MakeText(this, Resource.String.error_can_not_handle_uri, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resource.String.error_can_not_handle_uri, MessageSeverity.Error);
|
||||
return false;
|
||||
}
|
||||
IoUtil.TryTakePersistablePermissions(this.ContentResolver, intent.Data);
|
||||
@@ -448,7 +468,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Toast.MakeText(this, "Failed to open child databases",ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "Failed to open child databases", MessageSeverity.Error);
|
||||
Kp2aLog.LogUnexpectedError(e);
|
||||
}
|
||||
|
||||
|
@@ -70,15 +70,15 @@ namespace keepass2android
|
||||
|
||||
protected Bundle State { get; set; }
|
||||
|
||||
protected override void ShowToast(string text)
|
||||
protected override void ShowErrorToast(string text)
|
||||
{
|
||||
Toast.MakeText(this, text, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, text, MessageSeverity.Error);
|
||||
}
|
||||
|
||||
protected override void ShowInvalidSchemeMessage(string dataString)
|
||||
{
|
||||
Toast.MakeText(this, Resources.GetString(Resource.String.unknown_uri_scheme, new Java.Lang.Object[] { dataString }),
|
||||
ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Resources.GetString(Resource.String.unknown_uri_scheme, new Java.Lang.Object[] { dataString }),
|
||||
MessageSeverity.Error);
|
||||
}
|
||||
|
||||
protected override string IntentToFilename(Intent data)
|
||||
@@ -194,7 +194,7 @@ namespace keepass2android
|
||||
|
||||
StartActivityForResult(intent, requestCode);
|
||||
#else
|
||||
Toast.MakeText(this, "File chooser is excluded!", ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, "File chooser is excluded!", MessageSeverity.Error);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -57,7 +57,7 @@ namespace keepass2android
|
||||
// Verify that passwords match
|
||||
if ( ! pass.Equals(confpass) ) {
|
||||
// Passwords do not match
|
||||
Toast.MakeText(Context, Resource.String.error_pass_match, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Context, Resource.String.error_pass_match, MessageSeverity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace keepass2android
|
||||
|
||||
// Verify that a password or keyfile is set
|
||||
if ( pass.Length == 0 && keyfile.Length == 0 ) {
|
||||
Toast.MakeText(Context, Resource.String.error_nopass, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(Context, Resource.String.error_nopass, MessageSeverity.Error);
|
||||
return;
|
||||
|
||||
}
|
||||
@@ -114,7 +114,7 @@ namespace keepass2android
|
||||
edit.PutString(App.Kp2a.CurrentDb.CurrentFingerprintModePrefKey, FingerprintUnlockMode.Disabled.ToString());
|
||||
edit.Commit();
|
||||
|
||||
Toast.MakeText(_dlg.Context, Resource.String.fingerprint_reenable, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(_dlg.Context, Resource.String.fingerprint_reenable, MessageSeverity.Warning);
|
||||
_dlg.Context.StartActivity(typeof(BiometricSetupActivity));
|
||||
}
|
||||
|
||||
|
@@ -121,7 +121,7 @@ namespace keepass2android
|
||||
|
||||
} catch (Exception e)
|
||||
{
|
||||
Toast.MakeText(this, e.Message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, Util.GetErrorMessage(e), MessageSeverity.Error);
|
||||
SetResult(Result.Canceled);
|
||||
Finish();
|
||||
return;
|
||||
@@ -184,7 +184,7 @@ namespace keepass2android
|
||||
createUrlEntry.Click += (sender, e) =>
|
||||
{
|
||||
GroupActivity.Launch(this, new CreateEntryThenCloseTask { Url = searchUrl, ShowUserNotifications = (AppTask as SelectEntryTask)?.ShowUserNotifications ?? ActivationCondition.Always }, new ActivityLaunchModeRequestCode(0));
|
||||
Toast.MakeText(this, GetString(Resource.String.select_group_then_add, new Java.Lang.Object[] { GetString(Resource.String.add_entry) }), ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(this, GetString(Resource.String.select_group_then_add, new Java.Lang.Object[] { GetString(Resource.String.add_entry) }), MessageSeverity.Info);
|
||||
};
|
||||
}
|
||||
else
|
||||
|
@@ -40,7 +40,7 @@ namespace keepass2android
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Finish(false, e.Message);
|
||||
Finish(false, Util.GetErrorMessage(e));
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace keepass2android
|
||||
OnFinish onFinish = new ActionOnFinish(_activity, (success, message, activity) =>
|
||||
{
|
||||
if (!String.IsNullOrEmpty(message))
|
||||
Toast.MakeText(activity, message, ToastLength.Long).Show();
|
||||
App.Kp2a.ShowMessage(activity, message, MessageSeverity.Error);
|
||||
|
||||
// Tell the adapter to refresh it's list
|
||||
BaseAdapter adapter = (activity as GroupBaseActivity)?.ListAdapter;
|
||||
|