Commit Graph

205 Commits

Author SHA1 Message Date
Francisco Gindre 688aa85053
[#43] Add Contributing Guidelines
Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-05-31 16:07:41 -04:00
Carter Jernigan e4d8904a76
[#49] Switch to Adoptium JDK (#50)
Temurin/Adoptium is the default used by Gradle toolchains, and they now have both Java 11 and 17 ARM support for Macs
2022-05-24 08:17:44 -04:00
Carter Jernigan bdda959f18
[#22] Configure Detekt
- Followup issue #46

Added a baseline file to suppress warnings for existing issues, while enabling Detekt to run on CI so that new issues won't be introduced going forward.
2022-05-04 14:55:09 -04:00
Carter Jernigan 925d80f595
[#23] Add basic GitHub Actions workflows
Note that static analysis is commented out until it is implemented in #22.

Maven deployment will be enabled once secrets are added.
2022-05-04 11:54:30 -04:00
Carter Jernigan e6b328fcad
[#34] Delete “run demo app” from review checklist 2022-04-28 07:01:33 -04:00
Carter Jernigan 95cfcaa42b [#12] Remove reference to Jcenter
Jcenter is deprecated and library is also published to MavenCentral
2022-04-27 16:49:52 -04:00
Carter Jernigan 1f41fdaecd [#36] Enable dependency locking 2022-04-27 16:49:35 -04:00
Honza f197268dac [#21] Apply Android Studio code inspection proposals 2022-04-25 16:49:50 -04:00
Carter Jernigan 1c16344ccc [#21] Apply ktlint formatting 2022-04-25 16:49:50 -04:00
Carter Jernigan 11280a69e5 [#21] Configure ktlint
Can now be invoked with `./gradlew ktlintFormat`

Kotlin version is now declared in gradle.properties, due to inability to use version catalogs in settings.gradle.kts for plugins.
2022-04-25 16:49:50 -04:00
Carter Jernigan 90aa3eaf79
[#25] Enable strict Kotlin compiler warnings
Fixed existing warnings, which included:
 - Suppressing a deprecation warning for Java 9, as we have to maintain compatibility with Java 8 for Android
 - Using a new Kotlin API introduced in Kotlin 1.5
 - Removed unused local variables
2022-04-25 11:55:31 -04:00
Carter Jernigan 570e273635
[#17] Add GitHub templates
These templates are more or less copied from the Zcash Android SDK with minor modifications (removing reference to screenshots, Android, or UI manual tests)
2022-04-22 10:27:49 -04:00
Carter Jernigan 8fc703adf1 [#31] Configure multiplatform build scripts 2022-04-21 10:58:24 -04:00
Carter Jernigan 3f24445329 [#31] Rename source directories 2022-04-21 10:52:38 -04:00
Carter Jernigan 93afba2b76 [#19] Version catalog 2022-04-21 10:52:38 -04:00
Carter Jernigan 08fa562456 [#18] Convert build scripts to kts 2022-04-21 10:52:38 -04:00
Carter Jernigan d5be0e5347 Add IntelliJ run configurations 2022-04-21 10:52:38 -04:00
Carter Jernigan 6cf0e352e6 [#26] Use MavenCentral instead of JCenter 2022-04-21 10:52:38 -04:00
Carter Jernigan 1f3a9e821d [#15] Kotlin 1.6.21
Also update the build scripts to resolve warnings
2022-04-21 10:52:38 -04:00
Carter Jernigan f5927a2513 [#16] Gradle 7.4.2 2022-04-21 10:52:38 -04:00
Carter Jernigan 7497d16b9b [#11] Remove duplicate Gradle wrapper 2022-04-20 15:43:54 -04:00
Carter Jernigan da996543c4 Add .DS_Store to gitignore 2022-04-20 15:18:24 -04:00
Kevin Gorham dc8755a6a2
Removed CircleCI
Removing it to avoid confusion. This can be added again if it is setup in the future.
2021-04-05 19:19:41 -04:00
Kevin Gorham b685c3be8a
Merge pull request #6 from zcash/fix/exit-jcenter
Migrated to Maven Central.
2021-03-11 15:59:14 -05:00
Kevin Gorham d7c37957a2
Migrated to Maven Central. 2021-03-11 15:58:39 -05:00
Kevin Gorham 80e63c8d9c
Replaced Bintray badge with maven central badge. 2021-03-11 15:43:00 -05:00
Kevin Gorham 2bdc732466
Correct minor typo in README 2021-01-26 08:18:53 -05:00
Kevin Gorham 208f60301d
Merge pull request #4 from rex4539/typos
Fix typo
2021-01-13 22:10:13 -05:00
Dimitris Apostolou 460f3a3e5f
Fix typo 2020-12-20 23:53:09 +02:00
Kevin Gorham 5490a371b4
Add checksum to list of motivations 2020-11-22 15:12:28 -05:00
Kevin Gorham a44b369b48
Update Changelog 2020-09-19 03:52:51 -04:00
Kevin Gorham 2d46490cb4
Added changelog. 2020-09-19 03:51:46 -04:00
Kevin Gorham 16f057d0cb
Merge pull request #3 from zcash/feature/support-older-devices
Feature/support older devices
2020-09-19 03:46:02 -04:00
Kevin Gorham f1a1eea39b
Give credit to those who came before. 2020-09-19 03:43:09 -04:00
Kevin Gorham 8bbb0ffedb
Update the only dependency: Kotlin. 2020-09-19 03:42:37 -04:00
Kevin Gorham 7f60fb656e
New: Add support for older devices.
Some devices may not have the java crypto libraries available, particularly on Android API versions lower than 23. Unfortunately, this can render a wallet unable to be used on those devices because keys cannot be generated. This PR changes that and allows fall back crypto implementations to be used whenever the defaults are missing.
2020-09-19 03:37:12 -04:00
Kevin Gorham 640c458fdb
Add cryto files to use in the absence of Java crypto libs. 2020-09-19 03:35:10 -04:00
Kevin Gorham c3cedfb630
Update bintray version in README 2020-09-01 13:05:42 -04:00
Kevin Gorham 89a2995283
Remove z-address link on README. 2020-09-01 13:03:22 -04:00
Kevin Gorham a4fc849111
Merge pull request #2 from zcash/hotfix/conversion-error
Fix: Conversion to list.
2020-06-11 20:18:22 -04:00
Kevin Gorham 300e25dba9
Fix: Conversion to list.
When converting from an array of characters into a list of words, there was an off-by-one error that was causing the words to display incorrectly. This issue did not effect the seed that was used it only impacted the display. The problem has been fixed and the tests updated to catch this type of problem in the future.
2020-06-11 20:15:26 -04:00
Kevin Gorham c02842fbfc
Merge pull request #1 from zcash/task/initial-implementation
Implementation is functionally complete.
2020-06-09 19:00:14 -04:00
Kevin Gorham abd9fa4da7
Pulled publish settings into separate file.
So that it is easier to reuse this in our other similar projects.
2020-06-06 20:20:35 -04:00
Kevin Gorham 739deab7d0
Updated repository name and distribution.
Changed from 'android-bip39' to 'kotlin-bip39' because this can be used anywhere that Kotlin can be used.
2020-06-06 18:29:25 -04:00
Kevin Gorham 14a75f57d0
Updated README to reflect name change.
Confirmed that the library also works outside of Android. So it has been renamed, accordingly. With a few more tweaks, it could probably work on Java pretty easily, as well. For now, that is not a goal.
2020-06-06 18:19:37 -04:00
Kevin Gorham 45b9a754bb
Updated test results in the README 2020-06-06 18:19:36 -04:00
Kevin Gorham 85bb896549
Refactored toEntropy and added missing/failing test scenarios. 2020-06-06 18:19:36 -04:00
Kevin Gorham 3603234999
Cleaned up the optional conversion to list of words. 2020-06-06 01:37:22 -04:00
Kevin Gorham ada0c1d2a9
Improvements and simplification. Tests now run about 4X faster.
Replaced PBKDF2 implementation with Java standard also Kotlinized @ebfull's Rust implementation of computeSentence.
2020-06-06 00:14:35 -04:00
Kevin Gorham 227d5e7af4
Update Readme to reflect bintray version. 2020-06-04 14:13:03 -04:00