Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update crypto rust #1105

Closed
wants to merge 1 commit into from
Closed

Update crypto rust #1105

wants to merge 1 commit into from

Conversation

yostyle
Copy link
Contributor

@yostyle yostyle commented Sep 4, 2024

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Motivation and context

Screenshots / GIFs

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

@yostyle yostyle requested a review from MatMaul September 4, 2024 14:45
@yostyle yostyle self-assigned this Sep 4, 2024
@tchap-danger-bot
Copy link

Warnings
⚠️

Please add a changelog. See instructions here

Generated by 🚫 dangerJS against 704e3d5

Copy link
Contributor

@NicolasBuquet NicolasBuquet left a comment

Choose a reason for hiding this comment

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

Des questions.

}
)
}
if (secretContent.ciphertext != null && secretContent.mac != null && secretContent.ephemeral != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Tu devrais tester ici que tes secrets sont Base64 déchiffrables avant de les utiliser plus bas, je pense.

Copy link
Contributor

Choose a reason for hiding this comment

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

Pourquoi supprimes-tu aussi withOlmSigning ?

Copy link
Contributor

Choose a reason for hiding this comment

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

C'est quoi cet appel TODO() ???

)
)
}
val pkEncryption = PkEncryption.fromPublicKey(publicServerKey.fromBase64())
Copy link
Contributor

Choose a reason for hiding this comment

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

Test si le .fromBase64() est successful avant de l'utiliser ?

@yostyle yostyle closed this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants