biemster / FindMy

Query Apple's Find My network
346 stars 53 forks source link

keychain password as a command line parameter #10

Closed olivluca closed 2 years ago

olivluca commented 2 years ago

Added a new -P --password parameter to specify the keychain password on the command line. It works for me but it could not be good if one is using a real apple account.

biemster commented 2 years ago

This is a bit too vulnerable for me, people who want to script the prompt away should be able to take it from here. As a proof of concept the prompt will suffice. But thanks for the work you are putting in!

olivluca commented 2 years ago

Sure, I understand the implications, as I said, I'm the only user on a throwaway virtual machine with a fake account, so I don't mind. FWIW I could hardcode the password in the script itself.