Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

299
Views
How many keys can be stored in the iOS Secure Enclave?

Is there a limit to the number of keys I can store in the iOS Secure Enclave?

I have read Apple's documentation about the Secure Enclave (with a lot of associated pages) and also Apple's document about security, but I haven't found anything about the Secure Enclave's capacity.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

I have tried to generate 1025 key pairs to try the Secure Enclave's capacity. Around number 400 I started to receive an error.

So I think, there s a limit. But right now I can not say if it is a size limit or quantity limit.

over 4 years ago · Santiago Trujillo Report

0

According UserDefaults and other *.plist.

From iOS SDK codes, and related Apple official document..

 extension UserDefaults {


  /*!
   NSUserDefaultsSizeLimitExceededNotification is posted on the main queue when 
more data is stored in user defaults than is allowed. Currently there is no 
limit for local user defaults except on tvOS, where a warning notification will 
be posted at 512kB, and the process terminated at 1MB. For ubiquitous defaults, 
the limit depends on the logged in iCloud user.
 */
@available(iOS 9.3, *)
public class let sizeLimitExceededNotification: NSNotification.Name


// ....
}   

Summary

  • Currently there is no limit for local user defaults
  • On tvOS, where a warning notification will be posted at 512kB, and the process terminated at 1MB.
  • For ubiquitous defaults, the limit depends on the logged in iCloud user.
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!