Skip to content

issue #1060 pgp decrypt method that mimics error behavior#1216

Merged
DenBond7 merged 5 commits intomasterfrom
ip-1060-take2
May 10, 2021
Merged

issue #1060 pgp decrypt method that mimics error behavior#1216
DenBond7 merged 5 commits intomasterfrom
ip-1060-take2

Conversation

@IvanPizhenko
Copy link
Contributor

@IvanPizhenko IvanPizhenko commented May 6, 2021

This PR introduces 100% jvm based method for the decryption.

close #1060

Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities

@IvanPizhenko IvanPizhenko requested review from DenBond7 and tomholub May 6, 2021 22:31
@IvanPizhenko IvanPizhenko requested a review from seisvelas as a code owner May 6, 2021 22:31
@DenBond7 DenBond7 added this to the 1.1.8 milestone May 7, 2021
@DenBond7 DenBond7 added the PR submitted PR is submitted for this issue label May 7, 2021
Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

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

Thank you - this is what I needed, but needs some improvements. I didn't look at the tests yet (will later).

It seems FORMAT error are not handled? For example, what will happen if I enter "abcd".toByteArray() as the data? It seems like it would throw "OTHER / wrong key" which is not correct.

Copy link
Collaborator

@DenBond7 DenBond7 left a comment

Choose a reason for hiding this comment

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

Leaved a few comments. Please look at them.

@IvanPizhenko
Copy link
Contributor Author

@tomholub @DenBond7 made some fixes here, please review

@IvanPizhenko IvanPizhenko changed the title issue #1060 gp decrypt method that mimics error behavior issue #1060 pgp decrypt method that mimics error behavior May 9, 2021
@DenBond7 DenBond7 self-requested a review May 10, 2021 06:19
DenBond7
DenBond7 previously approved these changes May 10, 2021
Copy link
Collaborator

@DenBond7 DenBond7 left a comment

Choose a reason for hiding this comment

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

Thank you. Looks good. Approved

@DenBond7
Copy link
Collaborator

@tomholub Please review it. I will merge it after your approving

Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

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

Looks good, with tiny changes, from my end it's good to merge it. I'll let Den do the final review and merging. Thank you!

@DenBond7 DenBond7 dismissed their stale review May 10, 2021 06:49

Changed the approving status. I'll approve it after Tom. Due to difficulty of the current issue(decryption process).

@tomholub
Copy link
Collaborator

Ok Den, after the above changes, I'll do my approving review, then you can do yours.

@IvanPizhenko
Copy link
Contributor Author

@tomholub @DenBond7 I've made some more fixes according to Tom's comments, so please check them

Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good to me. Will let Den take another look and merge it.

@DenBond7 DenBond7 merged commit 84a9bc1 into master May 10, 2021
@DenBond7 DenBond7 deleted the ip-1060-take2 branch May 10, 2021 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR submitted PR is submitted for this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

implement pgp decrypt method that mimics error behavior

3 participants