Commit Graph

4012 Commits

Author SHA1 Message Date
Kashiko Koibumi
60af4109ab
fix complains from flake8 2024-05-17 02:14:59 +09:00
Kashiko Koibumi
24b83aae2a
run autopep8 on src 2024-05-17 01:53:27 +09:00
Kashiko Koibumi
1b3ce71f19
use bytes for key of hashtable in replacement of hexlified string 2024-05-16 23:45:10 +09:00
Kashiko Koibumi
ec91d9f20c
fix HTML display such as URL, email address and image 2024-05-16 12:48:56 +09:00
Kashiko Koibumi
6a090e802e
fix some bugs related to the migration to Python3
Now getpubkey and one-to-one messaging works.
2024-05-16 02:56:36 +09:00
Kashiko Koibumi
ba9734e979
fix pubkey check
It seems that one to one messaging using pubkey retrieving
is not working yet.
2024-05-15 13:22:47 +09:00
Kashiko Koibumi
2109fc0ab0
fix sending v4 pubkey 2024-05-15 13:01:32 +09:00
Kashiko Koibumi
cdbe5f80e2
fix exception from network status 2024-05-15 12:41:50 +09:00
Kashiko Koibumi
4f0e34b4be
make message sending work in Python 3 2024-05-15 11:50:38 +09:00
Kashiko Koibumi
88b14977b8
fix decryption to work in Python 3
Messages can be received and viewed now.

Remained problems:
* Message sending is not working yet.
2024-05-15 09:37:11 +09:00
Kashiko Koibumi
741f8dd461
fix some parts of inventory syncing
Remained works:
* Objects are not saved.
* Decryption does not work.
* Can not shutdown.
2024-05-14 23:28:16 +09:00
Kashiko Koibumi
e646377f22
fix GUIs to work with PyQt6
Unresolved problems:
* File->Quit menu does not work.
* Validator in add chan dialog does not work.
2024-05-14 16:34:27 +09:00
Kashiko Koibumi
16019d4083
enable TLS connection 2024-05-13 22:42:13 +09:00
Kashiko Koibumi
057e856925
try to migrate to Python3 + PyQt6; part 2
TLS is disabled
2024-05-13 12:47:42 +09:00
Kashiko Koibumi
6dfecbe361
try to migrate to Python3 + PyQt6 2024-05-13 08:06:24 +09:00
3b36676793
Run the lint env in the jammy buildbot dir 2024-05-10 02:55:16 +03:00
de9ee28516
Add a new tox env for linting, currently running pylint,
and the pylint config for python3.
2024-05-10 02:55:16 +03:00
8ef9c4d839
Remove ancient travis configuration 2024-05-09 17:55:00 +03:00
anand k
28355d70c7
Made BMConnectionPool as global runtime variable in connectionpool from singleton 2024-05-09 19:53:54 +05:30
8fa9da4cb4
Fix cross-compilation in the appimage build script and simplify local building 2024-05-08 01:48:44 +03:00
f28935f8fe
Avoid recursion when trying to build bitmsghash lib
in environments where prebuilt one is unusable and make doesn't work.
2024-05-05 23:22:34 +03:00
06ed879fca
Downgrade devcontainer ubuntu
- just released noble doesn't seem to have python-2.7 anymore so we're
  downgrading to jammy
2024-04-29 11:05:13 +08:00
anand k
95af3a859b
Renamed dandelion flag to dandelion_enabled 2024-04-22 08:59:00 +05:30
anand k
1c8ae8fef3
moved Dandelion in state - global runtime variable from singleton 2024-04-21 22:40:19 +05:30
anand k
5faef8d40e
moved inventory in state - global runtime variable from singleton 2024-04-19 08:21:19 +05:30
anand k
d555a79200
Test cases for shared.py 2024-04-17 18:21:11 +05:30
0ed566500f
Use fallback.RIPEMD160Hash() in the test for deterministic keys 2024-04-16 20:18:37 +03:00
c51b2875df
Tests for keys generation
this implementation for deterministic keys requires a passphrase of type bytes
2024-04-16 20:18:37 +03:00
5c1dcc5645
Define functions for generating keys in the highlevelcrypto 2024-04-16 20:18:03 +03:00
d547a8be2f
Encode WIF string before passing to highlevelcrypto.decodeWalletImportFormat() 2024-04-15 05:27:45 +03:00
acab92c561
Add a test for random address generation 2024-04-15 05:27:45 +03:00
ae3ff8c07e
Fix outdated exception handlers for singleWorker._getKeysForAddress() 2024-04-14 04:58:26 +03:00
629efb253e
Update the test for disseminatePreEncryptedMsg API command 2024-04-13 17:16:46 +03:00
f6bd1546a7
Alias disseminatePreEncryptedMsg as disseminatePreparedObject, edit docstring 2024-04-13 06:34:30 +03:00
7836538290
Make PoW optional in disseminatePreEncryptedMsg 2024-04-13 06:34:30 +03:00
44a4a370a6
Use defaults while doing PoW for a preencrypted msg 2024-04-13 06:34:30 +03:00
e1ae33389c
Properly format all the keys samples 2024-04-13 06:33:59 +03:00
7348568c78
The test for double SHA512 2024-04-13 03:19:55 +03:00
3ed84a5863
Start adding hashes with double SHA512 2024-04-13 03:17:39 +03:00
1b9773f2cf
A dummy test for randomBytes 2024-04-12 15:47:06 +03:00
c7a3bfacfa
Move randomBytes to highlevelcrypto 2024-04-12 15:46:32 +03:00
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