python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

Authentication using RSA API keys

Open silviumatei opened this issue 2 years ago • 6 comments

Hi there,

Is there a chance to use the RSA keys to authenticate? Binance has implemented them last December. There's a description here but I didn't manage to implement it in python: https://binance-docs.github.io/apidocs/spot/en/#signed-trade-user_data-and-margin-endpoint-security

Thanks a lot for your work!

silviumatei avatar Jan 23 '23 10:01 silviumatei

@sammchardy

janekaze avatar Feb 08 '23 09:02 janekaze

This is the announcement post: https://www.binance.com/en/support/announcement/binance-now-supports-rsa-api-keys-2022-12-29-f418fed3f05f4854a7bbccaad3104a1c

They use RSA PKCS#8 key pairs

sea212 avatar Feb 16 '23 23:02 sea212

This will be included in the next update shortly.

You can test it if you clone the code now, supports Path or str contents of public key file.

sammchardy avatar Feb 20 '23 13:02 sammchardy

Is there somewhere an example how to use it? Thanks.

noskule avatar Apr 19 '23 14:04 noskule

Following

aekiratli avatar Jul 27 '23 17:07 aekiratli

Current I Fixed by:

  1. generate token id and key on binance API
  2. add fix my ip (proxy IP) in restrict IP inputbox on binance API
  3. add proxy to bot and test run.

On Fri, 28 Jul 2023 at 00:17, aekiratli @.***> wrote:

Following

— Reply to this email directly, view it on GitHub https://github.com/sammchardy/python-binance/issues/1281#issuecomment-1654059986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIMTMDL27KL65RXBBB6VEYTXSKPBJANCNFSM6AAAAAAUDUN77Q . You are receiving this because you commented.Message ID: @.***>

janekaze avatar Jul 28 '23 05:07 janekaze