Import par remplacement ancien keygen #1

Open
opened 2022-10-05 18:03:08 +02:00 by qo-op · 5 comments

Lors de l'execution d'un ancien keygen, cette erreur

cat: /tmp/enc.support.sec: Aucun fichier ou dossier de ce type

Avec le nouveau

Traceback (most recent call last):
  File "/home/fred/.zen/Astroport.ONE/tools/keygen", line 34, in <module>
    from jwcrypto import jwk
ModuleNotFoundError: No module named 'jwcrypto'
Il y a un "install" à mettre à jour
Lors de l'execution d'un ancien keygen, cette erreur ``` cat: /tmp/enc.support.sec: Aucun fichier ou dossier de ce type ``` Avec le nouveau ``` Traceback (most recent call last): File "/home/fred/.zen/Astroport.ONE/tools/keygen", line 34, in <module> from jwcrypto import jwk ModuleNotFoundError: No module named 'jwcrypto' ``` Il y a un "install" à mettre à jour
Author
sudo apt install python3-jwcrypto

ModuleNotFoundError: No module named 'pynentry'

``` sudo apt install python3-jwcrypto ``` ModuleNotFoundError: No module named 'pynentry'
Author

sudo pip3 install pynentry
Collecting pynentry
Downloading pynentry-0.1.6-py3-none-any.whl (5.3 kB)
Installing collected packages: pynentry
Successfully installed pynentry-0.1.6

sudo pip3 install pynentry Collecting pynentry Downloading pynentry-0.1.6-py3-none-any.whl (5.3 kB) Installing collected packages: pynentry Successfully installed pynentry-0.1.6
Author
  • SecureBytes

Mais toujours ce foutu
cat: /tmp/enc.support.sec: Aucun fichier ou dossier de ce type

Trouvé!! C'était la dedans
https://git.p2p.legal/qo-op/Astroport.ONE/src/branch/master/12345.sh

+ SecureBytes Mais toujours ce foutu cat: /tmp/enc.support.sec: Aucun fichier ou dossier de ce type Trouvé!! C'était la dedans https://git.p2p.legal/qo-op/Astroport.ONE/src/branch/master/12345.sh
Author

Bug report

OS is buster, not happening on jammy

fred@aries:~/.zen/Astroport.ONE$ /home/fred/.zen/Astroport.ONE/tools/keygen
Traceback (most recent call last):
  File "/home/fred/.zen/Astroport.ONE/tools/keygen", line 38, in <module>
    import pgpy
  File "/home/fred/.local/lib/python3.7/site-packages/pgpy/__init__.py", line 4, in <module>
    from .pgp import PGPKey
  File "/home/fred/.local/lib/python3.7/site-packages/pgpy/pgp.py", line 27, in <module>
    from .constants import CompressionAlgorithm
  File "/home/fred/.local/lib/python3.7/site-packages/pgpy/constants.py", line 23, in <module>
    from ._curves import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, X25519, Ed25519
  File "/home/fred/.local/lib/python3.7/site-packages/pgpy/_curves.py", line 37, in <module>
    @utils.register_interface(ec.EllipticCurve)
AttributeError: module 'cryptography.utils' has no attribute 'register_interface'
fred@aries:~/.zen/Astroport.ONE$ cat /etc/os-release 
Bug report OS is buster, not happening on jammy ``` fred@aries:~/.zen/Astroport.ONE$ /home/fred/.zen/Astroport.ONE/tools/keygen Traceback (most recent call last): File "/home/fred/.zen/Astroport.ONE/tools/keygen", line 38, in <module> import pgpy File "/home/fred/.local/lib/python3.7/site-packages/pgpy/__init__.py", line 4, in <module> from .pgp import PGPKey File "/home/fred/.local/lib/python3.7/site-packages/pgpy/pgp.py", line 27, in <module> from .constants import CompressionAlgorithm File "/home/fred/.local/lib/python3.7/site-packages/pgpy/constants.py", line 23, in <module> from ._curves import BrainpoolP256R1, BrainpoolP384R1, BrainpoolP512R1, X25519, Ed25519 File "/home/fred/.local/lib/python3.7/site-packages/pgpy/_curves.py", line 37, in <module> @utils.register_interface(ec.EllipticCurve) AttributeError: module 'cryptography.utils' has no attribute 'register_interface' fred@aries:~/.zen/Astroport.ONE$ cat /etc/os-release ```
Owner

Il faut installer une version spécifique de cryptography :

pip3 install cryptography==3.4.8

ou

pip3 install -r requirements.txt

Il faut installer une version spécifique de cryptography : pip3 install cryptography==3.4.8 ou pip3 install -r requirements.txt
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aya/dpgpid#1
No description provided.