biemster / FindMy

Query Apple's Find My network
225 stars 39 forks source link

keychain password as a command line parameter #10

Closed olivluca closed 1 year ago

olivluca commented 1 year 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 1 year 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 1 year 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.