Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Client Tooling] Keybase (issue #455) #459

Merged
merged 60 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
8038970
Add beginnings of local account keybase using BadgerDB backend
h5law Jan 21, 2023
eab4497
Add CreateFromString function, wrong passphrase error catch, Unarmour…
h5law Jan 22, 2023
c6da3f8
Add passphrase validation, and GetPrivKey and UpdatePassphrase functions
h5law Jan 22, 2023
73ff042
Add more code coverage in tests
h5law Jan 22, 2023
30904c0
Use address string in function calls
h5law Jan 22, 2023
ae4cbc1
Use error function for address not found
h5law Jan 22, 2023
2ccb0a7
Update to use address string in function calls, check errors properly
h5law Jan 22, 2023
0262c1c
Fix test names to be consistent
h5law Jan 22, 2023
fc52ee3
Reorder imports
h5law Jan 22, 2023
e7b1faf
Remove create from bytes
h5law Jan 22, 2023
e180b0d
Remove create from bytes and clear all, add signature and verificatio…
h5law Jan 22, 2023
f169b68
Add signature tests
h5law Jan 22, 2023
2287a2e
Rename CreateFromString to ImportFromString, add GetPubKey commented out
h5law Jan 23, 2023
eae9f40
Add GetPubKey function and tests
h5law Jan 23, 2023
1822225
Add JSON tags to structs
h5law Jan 23, 2023
224b82d
Add test account hardcoded details, add import from JSON test and exp…
h5law Jan 23, 2023
c65b3f2
Add export string and json functions and import from JSON string func…
h5law Jan 23, 2023
4755415
Add JSON comment - why are V0 keys JSON too long for this implementat…
h5law Jan 23, 2023
18000e0
Change GetAll() to return only []KeyPair and error
h5law Jan 23, 2023
2f7663d
Have GetAll return (addresses []string, keypairs []KeyPairs, error)
h5law Jan 23, 2023
5cacecf
Add passphrase check to ExportJSON
h5law Jan 23, 2023
8a04071
Add default passphrase for encryption to allow decryption when user p…
h5law Jan 24, 2023
cc488f9
Fix JSON import/export interoperability between V0/V1
h5law Jan 24, 2023
533ced5
Remove JSON comment
h5law Jan 24, 2023
7eb890e
Add t *testing.T argument to helper functions - use deterministic key…
h5law Jan 25, 2023
f182b05
Add comments to scrypt parameters, refactor names used for encryption…
h5law Jan 25, 2023
82b2cfa
Seperate keybase interface into its own file
h5law Jan 25, 2023
13a49f6
Remove path argument from NewInMemoryDB function, remove Keybase inte…
h5law Jan 25, 2023
026e9da
Seperate keys.go into keypair and armour logic + move into crypto pac…
h5law Jan 25, 2023
5a2d059
Fix imports
h5law Jan 25, 2023
9ee2f9b
Fix imports
h5law Jan 25, 2023
beb2cb5
Fix imports, change Delete() logic to not use Update() wrapper, add c…
h5law Jan 25, 2023
c3aef07
Combine if and error checking where appropriate - make delete use Upd…
h5law Jan 25, 2023
82e51b2
Move shared logic for import functions into a helper function
h5law Jan 25, 2023
39e650e
Make KeyPair an interface and EncKeyPair struct implement the interface
h5law Jan 25, 2023
f1b6bda
Fix encryption with no passphrase
h5law Jan 25, 2023
ca143f5
Add README.md
h5law Jan 25, 2023
172353e
Merge branch 'main' into keybase_implementation
h5law Jan 25, 2023
db608fc
Merge branch 'main' into keybase_implementation
h5law Jan 26, 2023
eed8cd7
Update README.md
h5law Jan 28, 2023
55447e5
Add hint to new keys created
h5law Jan 28, 2023
1e06014
Add hint to imported string keys
h5law Jan 28, 2023
67b9e01
Add hint to update passphrase
h5law Jan 28, 2023
89f2776
Reduce scope of EncKeyPair add Marshal and Unmarshal functions to Key…
h5law Jan 28, 2023
07a605f
Fix comments
h5law Jan 28, 2023
cc92bb0
Add db path directory exists check
h5law Jan 28, 2023
4b1712c
Reduce scope of ArmouredKey
h5law Jan 28, 2023
b64b989
Merge branch 'main' into keybase_implementation
h5law Jan 28, 2023
598ef48
Reduce scope of NewKeyPair
h5law Jan 28, 2023
a86654f
Update README.md
h5law Jan 28, 2023
cfdd92f
Change EncryptedBytes to CipherText within diagram in README.md
h5law Jan 30, 2023
b464a3c
Merge branch 'main' into keybase_implementation
h5law Jan 31, 2023
5654f0a
Automatic VSCode formatting
Olshansk Feb 2, 2023
ca47d53
Update the READMEs
Olshansk Feb 2, 2023
697d031
Update unarmour diagram
h5law Feb 2, 2023
c707aad
Update comments and readme
h5law Feb 2, 2023
86deecc
Create DB path if it doesn't exist
h5law Feb 2, 2023
adbd983
Address golangci-lint errors
h5law Feb 2, 2023
df3b575
Simplify txn returns
h5law Feb 2, 2023
f39d5e6
Update CHANGELOG.md files and move app/client/cli/doc to app/client/doc
h5law Feb 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ test_all_with_json_coverage: generate_rpc_openapi ## Run all go unit tests, outp
test_race: ## Identify all unit tests that may result in race conditions
go test ${VERBOSE_TEST} -race ./...

.PHONY: test_app
test_app: ## Run all go app module unit tests
go test ${VERBOSE_TEST} -p=1 -count=1 ./app/...

.PHONY: test_utility
test_utility: ## Run all go utility module unit tests
go test ${VERBOSE_TEST} -p=1 -count=1 ./utility/...
Expand Down
Loading