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

[WIP]hardware wallet tests ref #34 #50

Closed

Conversation

stdevAlDen
Copy link

@stdevAlDen stdevAlDen commented May 18, 2019

Fixes #34

Changes:

Does this change need to mentioned in CHANGELOG.md?

Requires testing
no

Alvaro Denis added 30 commits May 13, 2019 22:40
move isU8Eq from lib/cgo/tests/testutils/libsky_assert.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
move TestAddSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
…hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.hash.c
	lib/cgo/tests/test_main.c
	lib/cgo/tests/testutils/libsky_assert.c
ref skycoin#34
move TestAddressVerify from lib/cgo/tests/check_cipher.address.c to
lib/cgo/tests/check_cipher.address.common.c
ref skycoin#84
this commit should be reverted
ref skycoin#34
move TestAddressString from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
move registerMemCleanup from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
move TestAddressBulk from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
move TestAddressNull from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
move copyGoSlice_toGoSlice from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
move TestAddressFromBytes from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
move TestDecodeBase58Address from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
finally removed lib/cgo/tests/check_cipher.address.c as all address related test can be run against hardware wallet
ref skycoin#34
moce TestHashRipemd160 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSHA256KnownValue from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSumSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSHA256Hex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSHA256Set from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSHA256FromHex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestSHA256Null from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
move TestNewPubKey from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
move TestPubKeyFromHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
move TestPubKeyHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
move TestPubKeyVerify from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
move TestPubKeyVerifyNil from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
move TestPubKeyVerifyDefault1 from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
Maykel Arias Torres and others added 16 commits August 17, 2019 11:43
	SKY_ErrSerializedKeyWrongSize
	SKY_ErrHardenedChildPublicKey
	SKY_bip32_ErrInvalidChecksum
	SKY_ErrDerivedInvalidPrivateKey
	SKY_ErrDerivedInvalidPublicKey
	SKY_ErrInvalidPrivateKeyVersion
	SKY_ErrInvalidPublicKeyVersion
	SKY_ErrInvalidSeedLength
	SKY_ErrDeserializePrivateFromPublic
	SKY_ErrInvalidKeyVersion
	SKY_ErrInvalidFingerprint
	SKY_ErrInvalidChildNumber
	SKY_ErrInvalidPrivateKey
	SKY_ErrInvalidPublicKey
	SKY_ErrMaxDepthReached
- Added datatype `bip44_CoinType`
- Added function `SKY_bip44_NewCoin`
- Added datatype `Account__Handle`
- Added datatype `Coin__Handle`
- Added function `SKY_bip44_Coin_Account`
- Added function `SKY_bip44_Account_External`
- Added function `SKY_bip44_Account_Change`
…_String`

- Added function `SKY_bip44_Account_GetPrivateKey`
…ardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.address.common.c
	lib/cgo/tests/check_cipher.crypto.c
	lib/cgo/tests/check_cipher.hash.c
	lib/cgo/tests/testutils/libsky_assert.c
	lib/cgo/tests/testutils/libsky_testutil.c
ref skycoin#34
…rivateKey

- Added function `SKY_bip32_PrivateKey_GetKey
- Added function `SKY_bip32_PublicKey_GetKey and Finalized suite test cipher.bip44
…t34_hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.crypto.c
	lib/cgo/tests/testutils/libsky_assert.c
ref skycoin#34
@stdevAlDen stdevAlDen changed the base branch from v0.25dev to develop August 21, 2019 22:04
@stdevAlDen
Copy link
Author

@stdevAlDen stdevAlDen closed this Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run tests against hardware-wallet/skycoin-api
1 participant