Bitcoin Forum
January 19, 2019, 07:50:54 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Incorrect IV length error in Electrum console on: November 25, 2018, 08:39:34 PM
Hello, I can open my password-protected wallet locally via GUI without any problems, but when I try to access electrum password-protected functions on server using console I get this error:

Code:
Server-side exception: <Fault -32603: Server error: File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 118, in pw_decode | electrum.util.InvalidPassword: Incorrect password
>
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 116, in pw_decode
    d = to_string(DecodeAES(secret, s), "utf8")
  File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 102, in DecodeAES
    s = aes_decrypt_with_iv(secret, iv, e)
  File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 80, in aes_decrypt_with_iv
    cipher = AES.new(key, AES.MODE_CBC, iv)
  File "/usr/local/lib/python3.5/dist-packages/Cryptodome/Cipher/AES.py", line 225, in new
    return _create_cipher(sys.modules[__name__], key, mode, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/Cryptodome/Cipher/__init__.py", line 79, in _create_cipher
    return modes[mode](factory, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/Cryptodome/Cipher/_mode_cbc.py", line 287, in _create_cbc_cipher
    factory.block_size)
ValueError: Incorrect IV length (it must be 16 bytes long)

During handling of the above exception, another exception occurred:
Code:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/jsonrpclib/SimpleJSONRPCServer.py", line 376, in _dispatch
    return func(*params)
  File "/usr/local/lib/python3.5/dist-packages/electrum/daemon.py", line 287, in run_cmdline
    result = func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/electrum/commands.py", line 87, in func_wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/electrum/commands.py", line 360, in getseed
    s = self.wallet.get_seed(password)
  File "/usr/local/lib/python3.5/dist-packages/electrum/wallet.py", line 1375, in get_seed
    return self.keystore.get_seed(password)
  File "/usr/local/lib/python3.5/dist-packages/electrum/keystore.py", line 217, in get_seed
    return pw_decode(self.seed, password)
  File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 118, in pw_decode
    raise InvalidPassword()
electrum.util.InvalidPassword: Incorrect password
Traceback (most recent call last):
  File "/usr/local/bin/electrum", line 465, in <module>
    result = server.run_cmdline(config_options)
  File "/usr/local/lib/python3.5/dist-packages/jsonrpclib/jsonrpc.py", line 650, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.5/dist-packages/jsonrpclib/jsonrpc.py", line 532, in _request
    check_for_errors(response)
  File "/usr/local/lib/python3.5/dist-packages/jsonrpclib/jsonrpc.py", line 1220, in check_for_errors
    raise ProtocolError((code, message))
jsonrpclib.jsonrpc.ProtocolError: (-32603, 'Server error: File "/usr/local/lib/python3.5/dist-packages/electrum/crypto.py", line 118, in pw_decode | electrum.util.InvalidPassword: Incorrect password\n')

How to fix it?
2  Bitcoin / Electrum / Electrum on server for receiving and sending payments on: November 07, 2018, 07:00:44 AM
Hello,
I would like to use Electrum in the following way:
  • Generate new deposit address
  • User sends their funds to this address
  • After user deposit is received, electrum sends the funds to a different address, e.g. in cold storage
So basically use Electrum to generate addresses, receive funds and redirect funds to another place.

It is possible to do with Electrum? I was not able to find any docs how to do such things, especially working on server for receiving and redirecting.
3  Other / Beginners & Help / Best ways to promote a crypto exchange on: September 20, 2018, 04:29:45 PM
What could be some good ways to promote an exchange service like Changelly? How to become noticed here?

Could you guys name some efficient methods? I know that there are signature campaigns, but not sure if they are efficient to get customers. I think when the users see such a campaign they reflectively think: "aha, that is an ad, not interested". Or maybe I underestimate it, I don't know.

I'm thinking about a referral program, so that users could benefit by inviting the others. In my opinion referral programs can be useful.

Could you guys name some other efficient methods?  Maybe someone could point to some good promotion examples here at bitcointalk.
4  Other / Beginners & Help / Where to promote referral program for crypto exchange? on: September 01, 2018, 03:31:28 PM
What are the best places where crypto exchange could post a referral program? If it is bitcointalk for example, in which boards it is allowed to promote the referral programs? It also would be helpful to know if there are any other forums for this.
5  Bitcoin / Development & Technical Discussion / JavaScript library for cryptocurrency address validation on: March 16, 2018, 10:01:48 AM
Is there any good JS library for cryptocurrency address validation? I've found this one https://github.com/ivands/crypto-address-validator, but it doesn't support a lot of currencies.
6  Economy / Service Discussion / Cryptocurrency address generators on: March 09, 2018, 03:00:01 PM
I used ShapeShift recently and it seems that they generate new crypto address for each transaction. Looks like they can generate new cryptocurrency address for every coin that is available on their website. There are some APIs to generate BTC, BTH, ETH addresses, but I didn't find an API that could generate new ones for such a big list of cryptocurrencies. Does such an API exist or there is any other way to generate the addresses programmatically?

 
Pages: [1]
Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!