Keychain Reaction

In my previous post, I talked about a sample app I made that demonstrates Keychain entry persistence across app relaunches and app reinstalls.

What I didn’t talk about was what a pain in the ass working with the Keychain is.

Over the years, I’ve seen a lot of codebases that included a lot of utility classes to make dealing with those ancient, ancient C-based Keychain APIs a little easier.

What I haven’t been able to find is a modern Swift library that does so. For Secrets, I wound up just copying in the files from Sam Soffes’s SAMKeychain library, which from my cursory googling seemed like one of the most recently-updated Keychain helper libraries. But it’s in Objective-C.

Any Swift-y Keychain libraries out there?

2 thoughts on “Keychain Reaction”

  1. I stay away from 3rd party library Swift code as much as I can since the language needs to be migrated every year when the new version of Swift is released, & I end up waiting on that 3rd party code to be updated, which is not fun. So for keychain stuff I use SAMKeychain in my Swift projects.

Comments are closed.

%d bloggers like this: