Commit Graph

4041 Commits

Author SHA1 Message Date
Sebastian Ratz
e3ce7fe95a Migrate from com.jcraft:jsch 0.1.55 to com.github.mwiede:jsch 0.2.5
com.jcraft:jsch is not actively maintained anymore and lacks support
for modern public key algorithms such as rsa-sha2-256. It only
supports ssh-rsa which is disabled in up-to-date environments.

com.github.mwiede:jsch was created as a drop-in replacement which
works in modern environments [1].

Sources are taken from maven central [2]. The following files were
omitted, because they depend on additional 3rd-party libraries which
we do not have / do not need:

    com/jcraft/jsch/JUnixSocketFactory.java
    com/jcraft/jsch/Log4j2Logger.java
    com/jcraft/jsch/PageantConnector.java
    com/jcraft/jsch/Slf4jLogger.java
    com/jcraft/jsch/SSHAgentConnector.java
    com/jcraft/jsch/bc/*
    com/jcraft/jsch/jgss/GSSContextKrb5.java

Fixes #1812.

[1] https://github.com/mwiede/jsch
[2] https://repo1.maven.org/maven2/com/github/mwiede/jsch/0.2.5/jsch-0.2.5-sources.jar
2023-01-03 15:26:42 +01:00
PhilippC
ce6556496e Merge pull request #2159 from tenzap/003-makefile_java
Makefile: add more source files to deps for java targets
2023-01-03 10:13:48 +01:00
PhilippC
eab5e22c8c Merge pull request #2162 from tenzap/004-gitignore
Fix gitignore with Resource.designer.cs/Resource.Designer.cs
2023-01-03 10:13:06 +01:00
PhilippC
827905e690 Merge pull request #2163 from tenzap/005-nuget.packages
remove src/.nuget/packages.config
2023-01-03 10:12:25 +01:00
PhilippC
7fe407d25e Merge pull request #2164 from tenzap/006-removeUntracked
remove untracked files as per .gitignore
2023-01-03 10:11:49 +01:00
tenzap
39c1f671d4 remove untracked files as per .gitignore
Somes files that are in .gitignore are still in the repository
This will remove them.

Commands used to do this:

git rm --cached -r . &&
git add . &&
git restore --staged .gitmodul

The jars in src/java/JavaFileStorage/libs are no more used since commit
a63663c30e

If this removes too many files, it means that .gitignore has to be fixed.
To find which rule removes which file run:

git check-ignore -v <file>

Especially, removing .idea/ completely might not be correct depending on ones
objective.
2022-12-19 22:54:50 +01:00
tenzap
4eb8c77304 remove src/.nuget/packages.config
It references a package that is deprecated and which seem to be already replaced
2022-12-19 22:37:28 +01:00
tenzap
c933748077 Fix gitignore with Resource.designer.cs/Resource.Designer.cs
Default value for <AndroidResgenFile> is Resource.designer.cs
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/building-apps/build-properties#androidresgenfile

Two projects were using <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
All other projects use <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
Difference is one has uppercase D, the other lowercase d

.gitignore already has a rule for 'Resource.designer.cs' in it.

The two projects that were with Resource.Designer.cs needed either a specific line in gitignore
or weren't actually ignored.

Selected fix here is to rename the file with a lowercase 'd' instead of uppercase.
This permits to remove one line from .gitignore and keep the other file really ignored
2022-12-19 19:42:26 +01:00
tenzap
3347722d6d Makefile: add more source files to deps for java targets 2022-12-19 12:06:36 +01:00
PhilippC
56c35ac573 Merge pull request #2106 from AriehSchneier/mark-clipboard-sensitive
Mark passwords as sensitive when copy to clipboard
2022-12-19 10:29:35 +01:00
Arieh Schneier
68a61dfcd8 Wrap in version check 2022-12-19 19:07:09 +11:00
PhilippC
664c260b99 Merge pull request #2139 from tenzap/master_pass1.6.2
Add function to support 'SamsungPass v1.2.6' (fixes build failure)
2022-12-19 08:46:35 +01:00
PhilippC
a07ce67c95 Update README.md 2022-12-19 08:45:27 +01:00
PhilippC
6cd71b2bf5 Merge pull request #1904 from PhilippC/l10n_master2
New Crowdin updates
2022-12-19 08:40:03 +01:00
PhilippC
eb3001a57d Merge pull request #2158 from tenzap/002-makefile-speedup
Speed-up makefile processing:
2022-12-19 08:13:14 +01:00
PhilippC
cfd44501d4 Merge pull request #2148 from PhilippC/dependabot/nuget/src/keepass2android/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 11.0.1 to 13.0.1 in /src/keepass2android
2022-12-19 08:13:03 +01:00
PhilippC
62f7592e1d New translations strings.xml (Dutch) 2022-12-18 22:13:41 +01:00
PhilippC
5b07f5d726 New translations strings.xml (Dutch) 2022-12-18 22:13:40 +01:00
PhilippC
3c7cdd150a New translations strings.xml (Dutch) 2022-12-18 21:06:16 +01:00
tenzap
3bafb4e022 Speed-up makefile processing:
On Windows, before the start of the java target, processing took ~10sec while less
than a second on linux.

Disable built-in rules to speed-up the Makefile processing.
2022-12-18 20:56:22 +01:00
PhilippC
477bb87322 Merge pull request #2150 from tenzap/001-build_system
Build system improvements (Makefile, github workflow)
2022-12-18 15:46:35 +01:00
PhilippC
6584303cdf New translations strings.xml (Japanese) 2022-12-16 04:00:42 +01:00
PhilippC
cbcb72158e New translations strings.xml (Japanese) 2022-12-15 14:49:31 +01:00
PhilippC
43c8c7d243 New translations strings.xml (Japanese) 2022-12-15 02:43:10 +01:00
PhilippC
9d31559916 New translations strings.xml (Japanese) 2022-12-14 23:46:21 +01:00
tenzap
3483654830 github workflow: make use of caches for nuget, gradle & xamarin
Speeds job by up to ~3-5 minutes
2022-12-13 14:10:00 +01:00
tenzap
a74b162e37 Build.readme.md: small updates
Mention java
Do minimal required install of Mono on linux (instead of mono-complete
2022-12-13 14:09:59 +01:00
tenzap
52dd73fa9f Makefile: improve java & native targets
So that they get rebuilt if any of their files changes
2022-12-13 14:09:29 +01:00
tenzap
548b92ffe9 Makefile: improve nuget restore & clean
In some cases, nuget restore isn't sufficient to restore everything, especially if project.assets.json files
are missing or were removed. So we add a call to MSBuild -t:restore to build it.

Both nuget & msbuild are required because msbuild can only restore packages in 'packages.config' from version
16.5
2022-12-13 14:07:15 +01:00
PhilippC
1df84ae7a3 New translations strings.xml (Japanese) 2022-12-13 06:48:56 +01:00
PhilippC
ba40179c82 New translations strings.xml (Japanese) 2022-12-13 05:01:53 +01:00
PhilippC
1add52a459 New translations strings.xml (Japanese) 2022-12-13 04:02:55 +01:00
PhilippC
2f105d30fd New translations strings.xml (Japanese) 2022-12-12 16:37:03 +01:00
PhilippC
e473940c26 New translations strings.xml (Japanese) 2022-12-12 16:37:02 +01:00
Arieh Schneier
5f836c381f Mark passwords as sensitive when copy to clipboard 2022-12-13 02:28:05 +11:00
PhilippC
7282fdae0b New translations strings.xml (Japanese) 2022-12-12 14:22:34 +01:00
PhilippC
df2a7412d3 New translations strings.xml (Japanese) 2022-12-12 13:24:16 +01:00
PhilippC
ae4cdeedbf New translations strings.xml (Japanese) 2022-12-12 10:57:38 +01:00
PhilippC
fe6115aefb New translations strings.xml (Japanese) 2022-12-12 09:52:08 +01:00
PhilippC
414dfa57b2 New translations strings.xml (Japanese) 2022-12-12 07:08:35 +01:00
PhilippC
193a39390c New translations strings.xml (Japanese) 2022-12-12 06:06:05 +01:00
PhilippC
43455959e2 New translations strings.xml (Japanese) 2022-12-12 03:19:36 +01:00
PhilippC
2d0e142a79 New translations strings.xml (Japanese) 2022-12-12 02:24:01 +01:00
PhilippC
27714c0cdf New translations strings.xml (Japanese) 2022-12-11 15:40:06 +01:00
PhilippC
37db758ee5 New translations strings.xml (Japanese) 2022-12-11 14:41:35 +01:00
dependabot[bot]
faccbc10e5 Bump Newtonsoft.Json from 11.0.1 to 13.0.1 in /src/keepass2android
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 11.0.1 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/11.0.1...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-11 13:29:25 +00:00
PhilippC
748bd493c4 Merge pull request #2134 from tenzap/master_my
Fix build, support build of 'nonet' flavor inside master branch
2022-12-11 14:28:54 +01:00
PhilippC
8616956df1 New translations strings.xml (Japanese) 2022-12-11 06:33:44 +01:00
PhilippC
e0da5470e2 New translations strings.xml (Japanese) 2022-12-11 05:30:02 +01:00
PhilippC
27e237c5e9 New translations strings.xml (Japanese) 2022-12-11 01:05:29 +01:00