feaee60632
Add a test for WIF decoding and encoding
2024-04-07 03:30:56 +03:00
c1ca7044d2
Moved decodeWalletImportFormat() from shared to highlevelcrypto,
...
not addresses, where it's supposed to be because it uses
pyelliptic.arithmetic, addresses.decodeBase58() returns int which needs
to be encoded. Defined encodeWalletImportFormat() and replaced all uses.
2024-04-07 03:30:50 +03:00
17a09a665b
Moved samples into the samples module
2024-04-06 03:47:51 +03:00
5a48ee0ad5
Add tests for base58 and WIF decoding using pyelliptic.arithmetic
2024-04-06 03:47:19 +03:00
799237c7ff
Don't use BMConfigParser in highlevelcrypto, instead use digestAlg kwarg,
...
both in .sign() and .verify(), extend TestHighlevelcrypto.test_signatures().
2024-04-05 03:10:24 +03:00
fd3567b3fa
Add a test for sign() and verify()
2024-04-05 02:44:28 +03:00
13d090e344
Use protocol.decodeObjectParameters() for sending ACK - put it in the inventory
2024-04-05 00:38:30 +03:00
2a93b04332
Fix api.HandleDisseminatePreEncryptedMsg() for python3
2024-04-05 00:38:30 +03:00
8fb6410097
Enable inventory item setting for python3
2024-04-05 00:38:30 +03:00
2030e08db3
A test for disseminatePreEncryptedMsg API command
2024-04-05 00:38:30 +03:00
1794384f01
Use decodeObjectParameters() in disseminatePreEncryptedMsg API command handler
2024-04-05 00:38:29 +03:00
9747f65884
Define a protocol function for decoding object parameters outside of network
2024-04-05 00:37:50 +03:00
anand k
a39fc2cff5
Test cases for helper_inbox.py
2024-03-29 07:46:20 +05:30
73ffd26094
Kivy dependencies downgrade
...
- also fixes video recording
- tests are flakey but sometimes pass
2024-03-28 21:02:02 +08:00
anand-skss
b8749c6d7c
Rename mockpb dir to mockbm
2024-03-22 08:54:15 +00:00
anand k
563e557b1b
Test cases for helper_sent
2024-03-22 11:53:12 +05:30
anand k
2e98a1eb2d
Test cases for helper_sql & Added mock library dependency in requirements.txt
2024-03-21 11:25:10 +05:30
anand k
6d8c7f3bbc
Renamed mock dir to mockpb
2024-03-20 07:27:38 +05:30
7dc91af6d8
Fix typo and formatting in tests.core
2024-03-14 21:26:43 +02:00
anand k
d8843791ab
Test cases for multiqueue
2024-03-08 20:07:05 +05:30
95659b6f6c
Fix bandit comments:
...
- suppress B301 in the single place where it appears,
- fix placement of B607, B603 in proofofwork and B324 in bitmessagekivy.
2024-03-06 13:59:13 +02:00
698932f487
Reduce number of globally disabled bandit checks
...
and uncomment fail fast in the test script.
2024-03-06 13:58:58 +02:00
b211c795ad
Remove tox-xenial
...
- EOL, difficult to maintain test environment
2024-03-06 08:39:45 +08:00
anand-skss
6a33fe58e1
Code Quality
2024-03-04 15:37:03 +00:00
498b21864e
Update devcontainers
...
- setuptools support
- pre-compile PyBitmessage
2024-03-03 14:14:37 +08:00
19ec364b72
Code quality
2024-03-03 11:21:33 +08:00
anand-skss
d33959defc
Code Quality
2024-02-29 17:49:43 +00:00
13e6116d8e
Move sphinx_rtd_theme into the docs requirements
2024-02-29 12:30:54 +02:00
anand-skss
c734ac7b5f
Code Quality
2024-02-28 15:42:37 +00:00
b8e099539e
Restrict m2r version for py27
2024-02-28 09:54:08 +02:00
anand k
5af8b8d3f7
included defusedxml package for parsestring & cleaned upnp schema
2024-02-28 08:40:56 +05:30
anand k
dd64a7b507
Code Quality
2024-02-28 07:23:55 +05:30
7ed76d9e3e
Add devcontainer setup
2024-02-28 00:48:43 +08:00
65ae17f0ad
Change permissions for whole ANDROID_SDK_HOME to enable updates by buildozer
2024-02-26 20:43:19 +02:00
a10170b4e5
Include SQL scripts into the apk ( fixes : #1949 )
2024-02-26 20:43:19 +02:00
fde26f2dda
Slightly edit the build script - copy apk; check package files in test.sh
2024-02-26 20:43:19 +02:00
d08b07dd67
Update .gitignore by the stuff created by tox and buildozer
2024-02-26 20:43:19 +02:00
c723ace718
Add .dockerignore mainly to avoid the .buildozer dir in local containers
2024-02-26 20:42:48 +02:00
348df1151f
Truly wait for pow in test_send_broadcast() in test_api
2024-02-26 17:22:39 +02:00
696f9f9aeb
Trying to fix readthedocs build
2024-02-26 16:35:13 +02:00
anand k
e5e0f43b42
Code Quality
2024-02-26 13:18:02 +05:30
anand k
c2e407ef5a
Code Quality - included B101 in tox.ini to ignore assert warning
2024-02-25 00:24:01 +05:30
anand k
b43c9c4a75
Code Quality
2024-02-23 23:50:04 +05:30
d545630ac7
Code quality
2024-02-22 13:44:04 +08:00
b3c5900eb3
Code quality fixes
2024-02-20 08:47:07 +08:00
8e95279906
Pad pubkey coordinates in pyelliptic.ECC.get_pubkey()
2024-02-01 17:20:46 +02:00
688094371e
Relax the assertion about privkey length
2024-02-01 17:20:46 +02:00
d3644aa354
Add a test for short pubkey coordinates
2024-02-01 17:20:13 +02:00
f88ffccfb0
Remove x86 arch
2024-02-01 01:09:28 +02:00
43ad5f38f8
Rewritten the Dockerfile:
...
- install all the deb packages by apt-get in one place in the beginning,
- a separate command for jdk;
- pip packages are also before the SDK, request latest versions;
- added commands for the local build.
2024-02-01 01:06:34 +02:00