ユーザ用ツール

サイト用ツール


50_dialy:2019:08:01

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

50_dialy:2019:08:01 [2019/08/02 10:39] (現在)
matsui 作成
ライン 1: ライン 1:
 +====== 2019.08.01 Python paramikoエラー ======
  
 +===== 環境: =====
 +Python3.6 ​
 +paramiko ​                2.4.2
 +
 +===== エラー =====
 +
 +<​code>​
 +/​usr/​local/​lib/​python3.6/​site-packages/​paramiko/​kex_ecdh_nist.py:​39:​ CryptographyDeprecationWarning:​ encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
 +  m.add_string(self.Q_C.public_numbers().encode_point())
 +/​usr/​local/​lib/​python3.6/​site-packages/​paramiko/​kex_ecdh_nist.py:​96:​ CryptographyDeprecationWarning:​ Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
 +  self.curve, Q_S_bytes
 +/​usr/​local/​lib/​python3.6/​site-packages/​paramiko/​kex_ecdh_nist.py:​111:​ CryptographyDeprecationWarning:​ encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
 +  hm.add_string(self.Q_C.public_numbers().encode_point())
 +</​code>​
 +
 +===== 対処 =====
 +paramikoをアップグレードでエラーは出なくなった
 +
 +  pip install paramiko --upgrade
 +
 +{{tag>​日記 python}}
50_dialy/2019/08/01.txt · 最終更新: 2019/08/02 10:39 by matsui

Yesterday:165 Today:149 Total:06464