iOS Keychain Access with Locksmith Tutorial (Cocoapod Install)
Вставка
- Опубліковано 22 сер 2024
- Learn how to use Locksmith to securely store sensitive data in your app. Don't use NSUserDefaults to store things like passwords and API keys! Locksmith stores the data in the keychain which is the secure storage on iOS. We will be doing this in a Swift Xcode project.
We'll be installing Locksmith with the Cocoa Pod set up so if you missed the video on how to install and set up Cocoapods, check it out here:
• CocoaPods Tutorial - H...
Related Links:
Get a customized roadmap for your app and start building it in 7 days:
⚡ codewithchris.c...
GitHub Page
github.com/mat...
For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you'll find a community of like minded learners! Learning something new is always more fun with other people!
UA-cam: / codewithchris
Website: codewithchris.com
CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Objective-C, Xcode and app building from my course and materials!
Intro & Outro music
"Heartbreaker" by Jahzzar (www.betterwithm...)
QOTD ⚡Did you know Locksmith is compatible with Swift 4?
👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
Is Locksmith compatible with Swift 5?
These Cocoapod videos are great. I can add pods in my sleep now.
for user ...is there any way to access those data that we stored into keyChain?
The keychain data is secured behind the user's iCloud account and password, check the Settings app.
@AdrienVillez
Hi Chris, great video yet again. I was wondering if you would do a follow up video showing how to save more than the password. cheers!
Does this still work in Xcode 11? And if not, where can I go to learn about keychain password autofill?
Hello, yes this still works in the latest ios version, in fact we have a small tutorial on this on our "iOS Bento" course with you are subscribed to CodeWithChris+ on our website, check out the available modules here academy,codewithchris.com
- Francis
great tutorial!
+Ilyas Uyanik Thanks for watching and happy new year! :)
+CodeWithChris It would be nice to add a tutorial with native ios keychain when you have time. In addition to that, I recommend you to bring some tutorials for Xamarin.
you are awesome chris
Thanks Chris for tutorial!, great videos
dont you need to enable capability keychain?
"Hello, not really internal keychain is fine without adding capability, the capability hidden behind paywall (or apple developer membership) is keychain sharing which is a bit different. this video is also quite old so its a bit outdatedm however we have an updated version of this as part of our iOS Bento in our paid membership course, you can check out our courses and whats inside here learn.codewithchris.com
- Francis"
Thanks for the tutorial! What is the difference between using Locksmith, Firebase and OAuthSwift when logging in with Email and Password?
great tutorial....i like waht you are doing
Thanks Cris... I'm loving this videos showing some great libs... I would appreciate an tutorial on how upload video/photo with progress indicator... Thanks again and happy new year! Cheers!
Equivalent library for objective-c, if possible.
Thank you.
Great how can i do authentication in biomertic in my app.my app uses Api for login .how i enable that user log in account by the biometric ?
This might help medium.com/@vishwasng/bibiometric-authentication-in-ios-36f51a65b39b
-Kat
Chris, Thanks for this simple made video.
as for `forUserAccount` does that mean if I have a device, that could be used for multiple users, I should somehow capture the username/userID there instead of the AppName?
After following all the instructions and after attempting to build, multiple .swift files including Locksmith.swift had around 50 errors between them. -It's all out of date code.-
EDIT: Turns out I was still using swift 2.3 instead of swift 3. My bad! :)
Thanks for good video. I am trying to save data into Keychain (library called KeychainAccess) and the data I save keeps gone away. Everytime re-launch the keychain is empty. I don't know what i am missing..any thought?
I never coded to make use of Keychain, so let's find some tutorials online!
Here are a couple:
medium.com/@jakkornat/saving-data-in-ios-keychain-e9ae885abc48
medium.com/ios-os-x-development/securing-user-data-with-keychain-for-ios-e720e0f9a8e2
@AdrienVillez
@@CodeWithChrisIt is really late though I wanted to say thank you for your support!
Is this still an effective library to use ? @CodeWithChris Since it's a long time video 2015.
It's seems to be well maintained. It was recently updated (a month ago) according to the github page. I think it's still great to use!
Well thanks for the notice, will look into it in my next project. Cheers
Hi, are there any similar library for Objective C, I see that this is only for swift. :(