Skip to content

Commit

Permalink
Remove Broken ECDSA SSH Pubkey Validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob H. Haven committed Jul 26, 2019
1 parent e76ec6b commit 5a55b32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,6 @@ class AirdropKey extends bio.Struct {
case ssh.keyTypes.P256: {
const point = pk.point || p256.publicKeyCreate(pk.key);

assert(point.length === 32);

this.type = keyTypes.P256;
this.point = p256.publicKeyConvert(point, true);

Expand Down

0 comments on commit 5a55b32

Please sign in to comment.