Skip to content

Instantly share code, notes, and snippets.

@eqyiel
Created October 8, 2017 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eqyiel/a61d23c5045973f2081dcf08d168d0f6 to your computer and use it in GitHub Desktop.
Save eqyiel/a61d23c5045973f2081dcf08d168d0f6 to your computer and use it in GitHub Desktop.
[root@ayanami:~/.ssh]# openssl rsa -in id_nix-builder -inform DER -modulus -noout
unable to load Private Key
139820730851288:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1200:
139820730851288:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:629:
139820730851288:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1200:
139820730851288:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=RSA
139820730851288:error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib:rsa_ameth.c:121:
139820730851288:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1200:
139820730851288:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=PKCS8_PRIV_KEY_INFO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment