Changeset [2fed2abe485fd11641b253a82b3d94923ef77848] by Mento

May 30th, 2018 @ 12:00 PM

Prevent encryption spoof attack.

Do not allow unencrypted plaintext in an encrypted message.
UnitTests added.
[FIX] [#162 state:fixed]

Committed by Mento

  • A Source/GPGStatusLine.h
  • A Source/GPGStatusLine.m
  • A UnitTests/Resources/Decrypt/LiteralAfterCustomEncrypted.gpg
  • A UnitTests/Resources/Decrypt/LiteralAfterCustomEncrypted.res
  • A UnitTests/Resources/Decrypt/LiteralAfterEmptyEncrypted.gpg
  • A UnitTests/Resources/Decrypt/LiteralAfterEmptyEncrypted.res
  • A UnitTests/Resources/Decrypt/Normal.gpg
  • A UnitTests/Resources/Decrypt/Normal.res
  • M Libmacgpg.xcodeproj/project.pbxproj
  • M Source/GPGController.m
  • M Source/GPGTask.h
  • M Source/GPGTask.m
  • M Source/Libmacgpg.h
  • M UnitTests/GPGControllerTest.m
  • M UnitTests/GPGUnarmorTest.m
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins