Skip to content

[jsrsasign] Fixed jsrasign RSAKey verify signature#59257

Merged
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
alonstern:fix-rsakey-verify
Mar 17, 2022
Merged

[jsrsasign] Fixed jsrasign RSAKey verify signature#59257
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
alonstern:fix-rsakey-verify

Conversation

@alonstern
Copy link
Copy Markdown
Contributor

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Mar 13, 2022

@alonstern Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can approve changes without tests

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 59257,
  "author": "alonstern",
  "headCommitOid": "ffb0f9e87095c220d6890a8b9f616595fd341e3f",
  "mergeBaseOid": "9b8c01776f02e44e4b2bf758d18abccbe9d71553",
  "lastPushDate": "2022-03-17T07:36:12.000Z",
  "lastActivityDate": "2022-03-17T20:28:04.000Z",
  "mergeOfferDate": "2022-03-17T20:02:12.000Z",
  "mergeRequestDate": "2022-03-17T20:28:04.000Z",
  "mergeRequestUser": "alonstern",
  "hasMergeConflict": false,
  "isFirstContribution": true,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "jsrsasign",
      "kind": "edit",
      "files": [
        {
          "path": "types/jsrsasign/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/jsrsasign/modules/RSAKey.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "ffflorian"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "gabritto",
      "date": "2022-03-17T20:01:33.000Z",
      "isMaintainer": true
    },
    {
      "type": "approved",
      "reviewer": "ffflorian",
      "date": "2022-03-17T09:31:55.000Z",
      "isMaintainer": false
    }
  ],
  "mainBotCommentID": 1066179616,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the Untested Change This PR does not touch tests label Mar 13, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

Hey @alonstern,

😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module.

This can potentially save days of time for you!

@typescript-bot
Copy link
Copy Markdown
Contributor

🔔 @ffflorian — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@DangerBotOSS
Copy link
Copy Markdown

DangerBotOSS commented Mar 13, 2022

Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files.
The check for missing properties isn't always right, so take this list as advice, not a requirement.

jsrsasign (unpkg)

was missing the following properties:

  1. SecureRandom
  2. rng_seed_time
  3. ECDSA
  4. DSA
  5. Signature
as well as these 21 other properties...

MessageDigest, Mac, Cipher, ASN1HEX, X509CRL, CryptoJS, hex2b64, ipv6tohex, hextoipv6, hextoip, iptohex, ucs2hextoutf8, oidtohex, hextooid, strpad, bitstrtoint, inttobitstr, crypto, asn1, jws, lang

Generated by 🚫 dangerJS against ffb0f9e

Copy link
Copy Markdown
Collaborator

@ffflorian ffflorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Mar 14, 2022
Copy link
Copy Markdown
Contributor

@gabritto gabritto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems to have been made as of version 10.2 of the original library (kjur/jsrsasign@3f97051). However, those DT definitions are marked as for version 9.0 (first line of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jsrsasign/index.d.ts). Could you also update the version to 10.2 in that header, so that the definitions match the original library? Thanks.

@typescript-bot typescript-bot added Revision needed This PR needs code changes before it can be merged. and removed Owner Approved A listed owner of this package signed off on the pull request. labels Mar 16, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@alonstern One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you!

@alonstern
Copy link
Copy Markdown
Contributor Author

This change seems to have been made as of version 10.2 of the original library (kjur/jsrsasign@3f97051). However, those DT definitions are marked as for version 9.0 (first line of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jsrsasign/index.d.ts). Could you also update the version to 10.2 in that header, so that the definitions match the original library? Thanks.

Thanks @gabritto

@typescript-bot typescript-bot removed the Revision needed This PR needs code changes before it can be merged. label Mar 17, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@gabritto, @ffflorian Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@typescript-bot
Copy link
Copy Markdown
Contributor

@gabritto Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review?

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Mar 17, 2022
@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Mar 17, 2022
@typescript-bot
Copy link
Copy Markdown
Contributor

@alonstern: Everything looks good here. I am ready to merge this PR (at ffb0f9e) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@ffflorian: you can do this too.)

@alonstern
Copy link
Copy Markdown
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit c7fdaf1 into DefinitelyTyped:master Mar 17, 2022
@alonstern alonstern deleted the fix-rsakey-verify branch March 17, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Approved Owner Approved A listed owner of this package signed off on the pull request. Self Merge This PR can now be self-merged by the PR author or an owner Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants