Commit Graph

138 Commits

Author SHA1 Message Date
Philipp Crocoll
2b2deb291a catch invalid dates, closes #868 2020-02-15 04:15:35 +01:00
Philipp Crocoll
049764fe67 don't save files in a file version lower than what was read, closes #791 2019-10-07 02:30:38 +02:00
Philipp Crocoll
99d0ecfd59 refactoring, use less UrlUtil and more IFileStorage 2019-10-01 20:04:03 +02:00
Philipp Crocoll
7c55c50b4c explicity use 8.0 as target version to fix compile error. (Note: I could also upgrade everything to 8.1 to fix the compile error, but that would require extensive testing; updating target version can come with subtle changes in how the app behaves at many places) 2019-08-20 05:46:53 +02:00
Chih-Hsuan Yen
7d1eeb1e34 Use native Argon2 implementation 2019-07-16 21:07:26 +08:00
Philipp Crocoll
3b93610e43 fix crash when sending debug log (closes https://github.com/PhilippC/keepass2android/issues/264) 2019-03-18 05:08:34 +01:00
Philipp Crocoll
f0f3bb6ede more logging regarding key transformation 2018-12-09 08:21:25 +01:00
Philipp Crocoll
8512bae997 make sure we always save database as KDBX4 when using ChallengeXCKey (for compatibility with KeepassXC), closes #596 2018-11-20 06:08:30 +01:00
Philipp Crocoll
a2dab72b25 first version to have multiple databases open at the same time. needs testing and bug fixing. 2018-10-16 06:33:00 +02:00
Philipp Crocoll
f14aad0c50 implemented loading of files with KeepassXC Challenge (#4).
requires write support, handling of Challenge/Response errors (or user cancels). Caution: saving corrupts the file at the moment!
2018-04-10 07:15:19 +02:00
Philipp Crocoll
b0aa706c07 upgrade to target Android 8.1 2018-03-26 19:56:55 +02:00
Philipp Crocoll
fd5b582c6c fix crash when disabling log file before writing anything into it, fixes #301 2018-03-21 05:00:57 +01:00
Philipp Crocoll
e2df24522f working 2017-12-26 19:26:05 +01:00
Philipp Crocoll
d621ea15a3 adjust targetFrameworkVersion of .csproj files to that of the manifest file 2017-12-03 07:42:38 +01:00
Philipp Crocoll
e491463862 Merge branch 'master' into 1.03
Conflicts:
	src/java/android-filechooser-AS/app/android-filechooser.iml
2017-10-24 06:37:59 +02:00
Philipp Crocoll
73c0d6a9e4 removed nuget check for Xamarin Insights which was removed. fixed library build type. 2017-10-23 20:26:18 +02:00
Philipp Crocoll
82fa7eaf9f logging controllable through preferences, option to send logged data 2017-10-16 12:57:30 +02:00
Philipp Crocoll
c7bad6f9a0 Merge branch 'master' into 1.03 2017-10-16 11:54:39 +02:00
Philipp Crocoll
6cee382f8c add some build system config files, improve .gitignore 2017-10-16 10:26:35 +02:00
Philipp Crocoll
911c630b91 start implementing KeepassXC Challenge-Response support (see #4), currently waiting for https://github.com/keepassxreboot/keepassxc/issues/1060), also missing support for saving at the moment and mem-leaking PasswordActivity 2017-10-16 07:36:49 +02:00
Philipp Crocoll
c2a6fd1dfc remove Xamarin Insights 2017-09-18 11:25:17 +02:00
Philipp Crocoll
35f2e95de2 fix potential xxe attacks when parsing xml files 2017-08-14 10:08:24 +02:00
Philipp Crocoll
d2144d5128 updated Build Tools, Gradle, JDK 2017-05-22 12:02:35 +02:00
Philipp Crocoll
d0879bfe39 complete merging of Keepass 2.35, fix auto-merge errors 2017-01-12 05:56:20 +01:00
Philipp Crocoll
34e572dad1 Merge branch 'Keepass_Orig'
Conflicts:
	src/KeePassLib2Android/Cryptography/CryptoRandom.cs
	src/KeePassLib2Android/Cryptography/HashingStreamEx.cs
	src/KeePassLib2Android/Cryptography/HmacOtp.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CharSetBasedGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CustomPwGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CustomPwGeneratorPool.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PatternBasedGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwCharSet.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwProfile.cs
	src/KeePassLib2Android/Cryptography/PopularPasswords.cs
	src/KeePassLib2Android/Cryptography/QualityEstimation.cs
	src/KeePassLib2Android/Cryptography/SelfTest.cs
	src/KeePassLib2Android/Delegates/Handlers.cs
	src/KeePassLib2Android/Interfaces/IDeepCloneable.cs
	src/KeePassLib2Android/Interfaces/IStatusLogger.cs
	src/KeePassLib2Android/Interfaces/IStructureItem.cs
	src/KeePassLib2Android/Interfaces/ITimeLogger.cs
	src/KeePassLib2Android/Interfaces/IUIOperations.cs
	src/KeePassLib2Android/Interfaces/IXmlSerializerEx.cs
	src/KeePassLib2Android/Keys/IUserKey.cs
	src/KeePassLib2Android/Keys/KcpCustomKey.cs
	src/KeePassLib2Android/Keys/KcpUserAccount.cs
	src/KeePassLib2Android/PwCustomIcon.cs
	src/KeePassLib2Android/PwGroup.cs
	src/KeePassLib2Android/Serialization/FileTransactionEx.cs
	src/KeePassLib2Android/Serialization/HashedBlockStream.cs
	src/KeePassLib2Android/Serialization/IOConnection.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Read.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Write.cs
	src/KeePassLib2Android/Translation/KPControlCustomization.cs
	src/KeePassLib2Android/Translation/KPFormCustomization.cs
	src/KeePassLib2Android/Utility/GfxUtil.cs
	src/KeePassLib2Android/Utility/MessageService.cs
	src/KeePassLib2Android/Utility/MonoWorkarounds.cs
	src/KeePassLib2Android/Utility/TimeUtil.cs
2017-01-11 18:02:44 +01:00
Philipp Crocoll
26c0fde41c Keepass lib 2.35 2017-01-11 07:57:01 +01:00
Philipp Crocoll
9b9f069949 1.01 pre1:
added preferences to switch encryption+kdf and to edit kdf parameters (for AES and Argon2)
2016-09-08 04:41:41 +02:00
Philipp Crocoll
e4c17e2e27 fix error with using native libary on Android, now allowing AesKdf again 2016-09-05 11:17:53 +02:00
Philipp Crocoll
6c043e9b79 adaptions to changes in KeePassLib 2016-08-31 22:18:32 +02:00
Philipp Crocoll
2e8c76d0c4 Merge branch 'Keepass_Orig' + adapt to changes in KeePassLib. This introduced KDBX4 in Keepass2Android.
NOTE: seems like merging broke the capability to read KDBX<=3.

Conflicts:
	src/KeePassLib2Android/Collections/AutoTypeConfig.cs
	src/KeePassLib2Android/Collections/ProtectedBinaryDictionary.cs
	src/KeePassLib2Android/Collections/ProtectedStringDictionary.cs
	src/KeePassLib2Android/Collections/PwObjectList.cs
	src/KeePassLib2Android/Collections/PwObjectPool.cs
	src/KeePassLib2Android/Collections/StringDictionaryEx.cs
	src/KeePassLib2Android/Cryptography/Cipher/CipherPool.cs
	src/KeePassLib2Android/Cryptography/Cipher/ICipherEngine.cs
	src/KeePassLib2Android/Cryptography/Cipher/Salsa20Cipher.cs
	src/KeePassLib2Android/Cryptography/Cipher/StandardAesEngine.cs
	src/KeePassLib2Android/Cryptography/CryptoRandom.cs
	src/KeePassLib2Android/Cryptography/CryptoRandomStream.cs
	src/KeePassLib2Android/Cryptography/HashingStreamEx.cs
	src/KeePassLib2Android/Cryptography/HmacOtp.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CharSetBasedGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CustomPwGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/CustomPwGeneratorPool.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PatternBasedGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwCharSet.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwGenerator.cs
	src/KeePassLib2Android/Cryptography/PasswordGenerator/PwProfile.cs
	src/KeePassLib2Android/Cryptography/PopularPasswords.cs
	src/KeePassLib2Android/Cryptography/QualityEstimation.cs
	src/KeePassLib2Android/Cryptography/SelfTest.cs
	src/KeePassLib2Android/Delegates/Handlers.cs
	src/KeePassLib2Android/Interfaces/IDeepCloneable.cs
	src/KeePassLib2Android/Interfaces/IStatusLogger.cs
	src/KeePassLib2Android/Interfaces/IStructureItem.cs
	src/KeePassLib2Android/Interfaces/ITimeLogger.cs
	src/KeePassLib2Android/Interfaces/IUIOperations.cs
	src/KeePassLib2Android/Interfaces/IXmlSerializerEx.cs
	src/KeePassLib2Android/Keys/CompositeKey.cs
	src/KeePassLib2Android/Keys/IUserKey.cs
	src/KeePassLib2Android/Keys/KcpCustomKey.cs
	src/KeePassLib2Android/Keys/KcpKeyFile.cs
	src/KeePassLib2Android/Keys/KcpPassword.cs
	src/KeePassLib2Android/Keys/KcpUserAccount.cs
	src/KeePassLib2Android/Keys/KeyProvider.cs
	src/KeePassLib2Android/Keys/KeyProviderPool.cs
	src/KeePassLib2Android/Keys/KeyValidator.cs
	src/KeePassLib2Android/Keys/KeyValidatorPool.cs
	src/KeePassLib2Android/Keys/UserKeyType.cs
	src/KeePassLib2Android/Native/NativeLib.cs
	src/KeePassLib2Android/Native/NativeMethods.cs
	src/KeePassLib2Android/Properties/AssemblyInfo.cs
	src/KeePassLib2Android/PwCustomIcon.cs
	src/KeePassLib2Android/PwDatabase.cs
	src/KeePassLib2Android/PwDefs.cs
	src/KeePassLib2Android/PwDeletedObject.cs
	src/KeePassLib2Android/PwEntry.cs
	src/KeePassLib2Android/PwEnums.cs
	src/KeePassLib2Android/PwGroup.cs
	src/KeePassLib2Android/PwUuid.cs
	src/KeePassLib2Android/Resources/KLRes.Generated.cs
	src/KeePassLib2Android/Security/ProtectedBinary.cs
	src/KeePassLib2Android/Security/ProtectedString.cs
	src/KeePassLib2Android/Security/XorredBuffer.cs
	src/KeePassLib2Android/Serialization/BinaryReaderEx.cs
	src/KeePassLib2Android/Serialization/FileLock.cs
	src/KeePassLib2Android/Serialization/FileTransactionEx.cs
	src/KeePassLib2Android/Serialization/HashedBlockStream.cs
	src/KeePassLib2Android/Serialization/IOConnection.cs
	src/KeePassLib2Android/Serialization/IOConnectionInfo.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Read.Streamed.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Read.cs
	src/KeePassLib2Android/Serialization/KdbxFile.Write.cs
	src/KeePassLib2Android/Serialization/KdbxFile.cs
	src/KeePassLib2Android/Serialization/OldFormatException.cs
	src/KeePassLib2Android/Translation/KPControlCustomization.cs
	src/KeePassLib2Android/Translation/KPFormCustomization.cs
	src/KeePassLib2Android/Translation/KPStringTable.cs
	src/KeePassLib2Android/Translation/KPStringTableItem.cs
	src/KeePassLib2Android/Translation/KPTranslation.cs
	src/KeePassLib2Android/Translation/KPTranslationProperties.cs
	src/KeePassLib2Android/Utility/AppLogEx.cs
	src/KeePassLib2Android/Utility/GfxUtil.cs
	src/KeePassLib2Android/Utility/MemUtil.cs
	src/KeePassLib2Android/Utility/MessageService.cs
	src/KeePassLib2Android/Utility/StrUtil.cs
	src/KeePassLib2Android/Utility/TimeUtil.cs
	src/KeePassLib2Android/Utility/UrlUtil.cs
2016-08-31 06:55:53 +02:00
Philipp Crocoll
a2f2e3d6f8 Keepass Orig KeePass_160826 2016-08-30 04:11:48 +02:00
Philipp Crocoll
6d1e28e502 Keepass original source code version 2.34 2016-08-30 04:09:53 +02:00
Philipp Crocoll
3585d4f61f Keepass original source code version 2.30 2016-08-30 04:09:26 +02:00
Philipp Crocoll
aaa6b371e0 Bug fixes:
* make sure we never have an invalid startIndex in PwGroup.SearchEvalAdd
 * make sure AndroidContentStorage does never throw (not if permission denial exception occurs) and make sure we always return a reason for read-only. Also don't return read-only when it's not.
 * StopListening doesn't log Invalid State Exception as unexpected
2016-01-18 21:18:22 +01:00
Philipp Crocoll
82b288ae71 switch back to Mono implementation for GZip 2016-01-11 21:57:54 +01:00
Philipp Crocoll
8fc98df53b start implementing Xamarin.Insights based error reports 2016-01-11 20:58:42 +01:00
Philipp Crocoll
8fa15e3ba6 added option to add built-in template entries to database 2016-01-08 20:18:34 +01:00
Philipp Crocoll
b93d9095db update build tools for Android 6 and packages 2015-12-28 07:25:57 +01:00
Philipp Crocoll
6817a365ff increased default number of encryption rounds to reflect the dramatic increase in computation power on mobile devices 2015-09-23 20:30:22 +02:00
Philipp Crocoll
fad8dc8b22 fixed bugs:
- work around Mono bug in GZipStream (see http://sourceforge.net/p/keepass/bugs/1373/) by including a custom GZipStream implementation
 - fixed issue with export database to System file picker location
 - fixed issues with preference options crashing with ActivityNotFound (due to changes in Xamarin 5.1, see https://bugzilla.xamarin.com/show_bug.cgi?id=33617
updated manifest/changelog
2015-09-03 22:03:28 +02:00
Philipp Crocoll
f8835b0f66 updated translations
added Oktoberfest dates for next years
2015-08-25 21:17:07 +02:00
Philipp Crocoll
ed15af3f8f * check if entered URI looks like a directory (not a file) and issue warning in SelectStorageLocationActivity
* check if URI is directory and refuse to delete in IOConnection
2015-06-17 06:33:29 +02:00
Philipp Crocoll
80b6a1d287 Support for Storage Access Framework
* EntryEditActivity: support content-URIs and extracting display names from them
* AndroidContentStorage.cs, SelectStorageLocationActivityBase.cs: support for SAF with persistable URI permissions
* FileChooser returns URI as data
* CreateDatabaseActivity.cs supports content URIs
* FileStorageSelectionActivity: doesn't show "Local file" anymore, now system file picker on KitKat
2015-06-07 22:44:34 +02:00
Philipp Crocoll
8de5588cff added UI for kdb support
fixed issue with not keeping "meta stream entries" (database color, default username) and num encryption rounds
fixed issues with recycle bin (wasn't updating group list correctly, couldn't access newly created recycle bin group)
2015-02-09 20:24:57 +01:00
Philipp Crocoll
bc235b3ba5 added tests for kdb writing, fixed issue with syncing (keep UUIDs when loading again) 2015-02-07 20:54:13 +01:00
Philipp Crocoll
3506e253db renamed DatabaseLoader to DatabaseFormat
allow write access for kdb (UI not yet completed, but saving done)
2015-02-02 21:37:05 +01:00
Philipp Crocoll
a626521f97 Merge branch 'wlawski'
Conflicts:
	src/keepass2android/Resources/Resource.designer.cs
2014-12-17 20:29:01 +01:00
Philipp Crocoll
9279a3ae92 Fixes in PasswordActivity:
* correctly set keyfile when reloading
* show toast in main thread
Allow importing keyfile to internal folder
2014-12-17 05:58:55 +01:00
Philipp Crocoll
26686ed8a7 Merge branch 'master' of https://git01.codeplex.com/forks/wlawski/keepass2android into wlawski
Conflicts:
	.gitignore
	src/java/InputStickAPI/gen/com/inputstick/api/R.java
	src/java/PluginInputStick/gen/com/inputstick/api/R.java
	src/java/PluginInputStick/gen/keepass2android/plugin/inputstick/R.java
	src/java/PluginInputStick/gen/keepass2android/pluginsdk/R.java
	src/keepass2android/Resources/Resource.designer.cs
2014-12-14 07:29:29 +01:00
Philipp Crocoll
be3bce47b1 added new native library for key transformation -> fix crash on Lollipop/Nexus 5 2014-12-03 06:38:35 +01:00