Tag:public key

  • paramiko

    Time:2019-12-10

    1.paramiko It is used to help developers connect to the server remotely through code and operate the server. pip3 install paramiko Remote execution command [user name and password] import paramiko #Create SSH object ssh = paramiko.SSHClient() #Allow connections to hosts that are not in the know? Hosts file ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) #Connect to server ssh.connect(hostname=’192.168.16.85′, port=22, username=’root’, […]

  • A brief introduction to the preparatory work of the development project

    Time:2019-11-30

    Install the node version required by the project. When installing a node, the NPM package management library will be downloaded automatically. Install Git Because git’s default theme color is much better than PowerShell’s, see the following: The way to change terminal in vscode is: CTRL +, open vscode’s settings panel, enter shell in the search […]

  • Alipay payment class

    Time:2019-11-13

    This version refers to netizens $this->appID, ‘method’ = > Alipay. Trade. Page. Pay ‘, // interface name ‘format’ => ‘JSON’, ‘return_url’ => $this->returnUrl, ‘charset’ => $this->charset, ‘sign_type’ => ‘RSA2’, ‘timestamp’ => date(‘Y-m-d H:i:s’), ‘version’ => ‘1.0’, ‘notify_url’ => $this->notifyUrl, ); //Request parameters $requestConfigs = array( ‘out_trade_no’ => $outTradeNo, ‘product_code’ => ‘FAST_INSTANT_TRADE_PAY’, ‘total amount’ = > […]

  • Use and monitoring of SSL certificate self signature

    Time:2019-10-20

    Preface Certificate introduction More and more attention has been paid to information security. HTTPS has become quite popular. To make our HTTP interface support HTTPS, only one SSL certificate is needed. Full name public key certificate (PKC), which holds the basic information of the owner, the expiration time of the certificate, the owner’s public key, […]

  • HTTPS principle

    Time:2019-9-25

    Here is a note, read some information on the Internet and understand the working principle of HTTPS protocol. First of all, symmetric encryption and asymmetric encryption, symmetric encryption is when encrypting and decrypting information using the same secret key, symmetric encryption has the advantages of high efficiency but relatively unsafe; asymmetric encryption key is divided […]

  • Git Link Remote Library

    Time:2019-6-15

    Code Cloud Version Library Use Process Generating public key Ssh-keygen-t rsa-c “Code Cloud Application Mailbox” Add public key to local   ssh-agent bash   ssh-add ~/.ssh/id_rsa View public key content   cat ~/.ssh/id_rsa.pub Copy the public key content and configure it on the code cloudCode Cloud== Personal Center== Settings=== Security Settings (SSH Public Key) Complete AdditionCreate new projects […]

  • Generating Bitcoin Wallet Address from Extended Public Key Using PHP

    Time:2019-2-4

    Reusing the same Bitcoin wallet address is a big privacy issue. If you have a simple e-store or a website requesting donations, you may need to consider generating a unique address for each transaction. There are many payment systems, such as Bitpay, that do all the hard work for you. The disadvantage is that they […]