Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Abstract the keystore #1752

Merged
merged 5 commits into from
Jan 6, 2020
Merged

Abstract the keystore #1752

merged 5 commits into from
Jan 6, 2020

Conversation

pedropombeiro
Copy link
Contributor

@pedropombeiro pedropombeiro commented Dec 20, 2019

This PR abstracts the Keystore so that it can rely on the geth implementation or the Nimbus implementation (upcoming). It introduces two new types: types.Key and types.Account that we should use instead of the Geth versions. It also pulls in the DecryptKey function from geth.

@ghost
Copy link

ghost commented Dec 20, 2019

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?

@status-im-auto
Copy link
Member

status-im-auto commented Dec 20, 2019

Jenkins Builds

Click to see older builds (78)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7538dc0 #1 2019-12-20 10:38:40 ~57 sec linux 📦zip
✔️ 7538dc0 #1 2019-12-20 10:42:56 ~5 min ios 📦zip
✔️ 7538dc0 #1 2019-12-20 10:44:37 ~6 min android 📦aar
✔️ 4dfba31 #2 2019-12-20 10:48:50 ~36 sec linux 📦zip
✔️ 4dfba31 #2 2019-12-20 10:51:24 ~3 min ios 📦zip
✔️ 4dfba31 #2 2019-12-20 10:54:01 ~5 min android 📦aar
✔️ 9322b0f #3 2019-12-20 11:54:21 ~43 sec linux 📦zip
✔️ 9322b0f #3 2019-12-20 11:56:11 ~2 min ios 📦zip
✔️ 9322b0f #3 2019-12-20 11:59:30 ~5 min android 📦aar
✔️ a2a6b9e #4 2019-12-20 12:03:44 ~38 sec linux 📦zip
✔️ a2a6b9e #4 2019-12-20 12:05:43 ~2 min ios 📦zip
08c3210 #5 2019-12-20 12:05:39 ~32 sec android 📄log
✔️ 08c3210 #5 2019-12-20 12:05:44 ~37 sec linux 📦zip
✔️ 08c3210 #5 2019-12-20 12:08:28 ~2 min ios 📦zip
b751e4e #6 2019-12-20 12:12:57 ~23 sec android 📄log
✔️ b751e4e #6 2019-12-20 12:13:31 ~54 sec linux 📦zip
✔️ b751e4e #6 2019-12-20 12:15:27 ~2 min ios 📦zip
✔️ 7d27cb6 #7 2019-12-20 12:15:11 ~48 sec linux 📦zip
✔️ 7d27cb6 #7 2019-12-20 12:17:57 ~2 min ios 📦zip
2833b0b #8 2019-12-20 12:17:09 ~24 sec android 📄log
✔️ 2833b0b #8 2019-12-20 12:17:28 ~45 sec linux 📦zip
✔️ 2833b0b #8 2019-12-20 12:20:31 ~2 min ios 📦zip
✔️ ae1091d #9 2019-12-20 12:24:42 ~41 sec linux 📦zip
✔️ ae1091d #9 2019-12-20 12:27:27 ~3 min ios 📦zip
✔️ ae1091d #9 2019-12-20 12:30:23 ~6 min android 📦aar
✔️ 767ecce #10 2019-12-20 12:32:12 ~48 sec linux 📦zip
✔️ 767ecce #10 2019-12-20 12:38:35 ~7 min ios 📦zip
✔️ 767ecce #10 2019-12-20 12:39:56 ~8 min android 📦aar
✔️ 36e673d #11 2019-12-20 12:41:46 ~42 sec linux 📦zip
✔️ 36e673d #11 2019-12-20 12:44:25 ~3 min ios 📦zip
✔️ c98610f #12 2019-12-20 12:45:49 ~46 sec linux 📦zip
✔️ c98610f #12 2019-12-20 12:47:36 ~2 min ios 📦zip
✔️ c98610f #13 2019-12-20 12:53:23 ~8 min android 📦aar
✔️ e606f93 #13 2019-12-20 13:22:17 ~47 sec linux 📦zip
✔️ e606f93 #13 2019-12-20 13:24:07 ~2 min ios 📦zip
✔️ e606f93 #14 2019-12-20 13:27:39 ~6 min android 📦aar
01157e3 #15 2019-12-20 13:29:38 ~15 sec android 📄log
✔️ 01157e3 #14 2019-12-20 13:30:08 ~42 sec linux 📦zip
✔️ 01157e3 #14 2019-12-20 13:32:22 ~2 min ios 📦zip
✔️ 079a19a #15 2019-12-20 13:31:58 ~46 sec linux 📦zip
✔️ 079a19a #15 2019-12-20 13:35:04 ~2 min ios 📦zip
✔️ 079a19a #16 2019-12-20 13:37:21 ~6 min android 📦aar
✔️ f9cdf68 #16 2019-12-20 14:56:46 ~2 min linux 📦zip
✔️ f9cdf68 #16 2019-12-20 14:59:50 ~5 min ios 📦zip
✔️ f9cdf68 #17 2019-12-20 15:03:00 ~8 min android 📦aar
✔️ 6a92a2d #17 2019-12-20 15:08:30 ~43 sec linux 📦zip
✔️ 6a92a2d #17 2019-12-20 15:10:20 ~2 min ios 📦zip
✔️ 6a92a2d #18 2019-12-20 15:13:42 ~5 min android 📦aar
✔️ f270139 #18 2019-12-20 17:58:00 ~38 sec linux 📦zip
✔️ f270139 #18 2019-12-20 18:00:43 ~3 min ios 📦zip
✔️ f270139 #19 2019-12-20 18:03:32 ~6 min android 📦aar
✔️ 894d51a #19 2019-12-30 09:45:25 ~1 min linux 📦zip
✔️ 894d51a #19 2019-12-30 09:49:37 ~5 min ios 📦zip
✔️ 894d51a #20 2019-12-30 09:51:32 ~7 min android 📦aar
✔️ 95d7728 #20 2019-12-30 10:30:23 ~53 sec linux 📦zip
95d7728 #20 2019-12-30 10:30:29 ~1 min ios 📄log
✔️ 95d7728 #21 2019-12-30 10:35:15 ~5 min android 📦aar
✔️ efde707 #21 2019-12-30 10:36:17 ~46 sec linux 📦zip
✔️ efde707 #21 2019-12-30 10:38:49 ~3 min ios 📦zip
✔️ efde707 #22 2019-12-30 10:41:27 ~5 min android 📦aar
22552f6 #23 2019-12-30 11:57:32 ~20 sec android 📄log
✔️ 22552f6 #22 2019-12-30 11:57:53 ~39 sec linux 📦zip
✔️ 22552f6 #22 2019-12-30 11:59:59 ~2 min ios 📦zip
✔️ 1655afe #23 2019-12-30 12:27:49 ~36 sec linux 📦zip
✔️ 1655afe #23 2019-12-30 12:30:21 ~3 min ios 📦zip
✔️ 1655afe #24 2019-12-30 12:33:11 ~6 min android 📦aar
53af0df #25 2020-01-02 09:11:14 ~22 sec android 📄log
✔️ 53af0df #24 2020-01-02 09:12:37 ~1 min linux 📦zip
✔️ 53af0df #24 2020-01-02 09:13:53 ~2 min ios 📦zip
10ecf5b #26 2020-01-02 09:34:32 ~15 sec android 📄log
✔️ 10ecf5b #25 2020-01-02 09:34:52 ~32 sec linux 📦zip
✔️ 10ecf5b #25 2020-01-02 09:39:51 ~5 min ios 📦zip
✔️ 20ea602 #26 2020-01-02 09:42:22 ~53 sec linux 📦zip
✔️ 20ea602 #26 2020-01-02 09:44:46 ~3 min ios 📦zip
✔️ 20ea602 #27 2020-01-02 09:47:21 ~5 min android 📦aar
✔️ 8273b70 #27 2020-01-02 09:45:00 ~42 sec linux 📦zip
✔️ 8273b70 #27 2020-01-02 09:47:36 ~2 min ios 📦zip
✔️ 8273b70 #28 2020-01-02 09:52:50 ~5 min android 📦aar
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ deb876e #28 2020-01-02 09:59:39 ~35 sec linux 📦zip
✔️ deb876e #28 2020-01-02 10:02:07 ~3 min ios 📦zip
✔️ deb876e #29 2020-01-02 10:04:44 ~5 min android 📦aar
✔️ cd175da #29 2020-01-02 10:12:32 ~36 sec linux 📦zip
✔️ cd175da #29 2020-01-02 10:14:47 ~2 min ios 📦zip
✔️ cd175da #30 2020-01-02 10:17:36 ~5 min android 📦aar

@pedropombeiro pedropombeiro force-pushed the abstract-keystore branch 14 times, most recently from 6a92a2d to f270139 Compare December 20, 2019 17:57
@pedropombeiro pedropombeiro changed the title Abstract keystore Abstract the keystore Dec 20, 2019
@pedropombeiro
Copy link
Contributor Author

Thanks for the review Adam! I've addressed the feedback.

@pedropombeiro pedropombeiro force-pushed the abstract-keystore branch 5 times, most recently from 10ecf5b to 20ea602 Compare January 2, 2020 09:41
@pedropombeiro pedropombeiro force-pushed the abstract-keystore branch 2 times, most recently from 8273b70 to deb876e Compare January 2, 2020 09:58
@@ -176,6 +176,10 @@ prepare-release: clean-release
clean-release:
rm -rf $(RELEASE_DIR)

gofmt:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you, but there are many unrelated files changed because of this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants