• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: licence key validation method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: licence key validation method


  • Subject: Re: licence key validation method
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 12 Jan 2015 09:05:21 -0800

Somebody (Dave Fernandes, apparently) wrote:
>>
>> If you use AquaticPrime, unfortunately, it does not generate standard signatures. It manually hashes and then encrypts using the private key. This sounds like a normal signature, but it is missing some information stored in standard PKCS #1 v2.0 signatures. This means that Security.framework WILL NOT be able to verify an AquaticPrime signature. The verify transform does not work for the above reason; and the decrypt transform does not work either because that would require you to decrypt using the public key. Security.framework enforces cryptographic hygiene - you can only decrypt with a private key and verify a signature with a public key.

The Security Transform API won't let you do that. But there are lower level functions in the framework (the CDSA API) that allow it.

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: licence key validation method
      • From: Jerry Krinock <email@hidden>
    • Re: licence key validation method
      • From: Dave Fernandes <email@hidden>
References: 
 >licence key validation method (From: sqwarqDev <email@hidden>)
 >Re: licence key validation method (From: 2551 <email@hidden>)
 >Re: licence key validation method (From: Jens Alfke <email@hidden>)
 >Re: licence key validation method (From: Charles Srstka <email@hidden>)
 >Re: licence key validation method (From: 2551 <email@hidden>)
 >Re: licence key validation method (From: Uli Kusterer <email@hidden>)
 >Re: licence key validation method (From: Dave Fernandes <email@hidden>)
 >Re: licence key validation method (From: Tamas Nagy <email@hidden>)

  • Prev by Date: Re: licence key validation method
  • Next by Date: Re: licence key validation method
  • Previous by thread: Re: licence key validation method
  • Next by thread: Re: licence key validation method
  • Index(es):
    • Date
    • Thread