Abolish Mail plugin in favor of calling AOSKit::retrieveHeadersForDSID directly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos, swift
- Domain
- desktop, reverse-engineering
Research direction
Start by reading the AOSKit entry points retrieveHeadersForDSID and retrieveOTPHeadersForDSID, then review the linked AppleIDAuth XCode project and its Catalina testing context. Replace the Mail plugin setup with direct retrieval of anisette data, and verify that the result matches the data currently obtained through the plugin.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Not really a problem, but I found an easier way of retrieving anisette data that does not require installing a Mail plugin.
Describe the solution you'd like
AOSKit has a function retrieveHeadersForDSID that can readily retrieve the required anisette data, without needing the entitlements of the Mail program. This is not my work, I just stumbled upon this git repo: https://github.com/vtky/AppleIDAuth (all credits go to @vtky), tested it on Catalina and it works fine with my script: https://github.com/biemster/FindMy
Describe alternatives you've considered
Just do nothing, the Mail plugin works fine too. This would only remove an extra step in setting up the whole thing.
Additional context
According to Victor who did all the hard work here, the function retrieveOTPHeadersForDSID requires a single parameter. Providing "-2" as parameter retrieves the same anisette data as the Mail plugin in my tests. The original repo linked above provides a lot of additional info and a compiling XCode project with which I did my tests, and is definitely worth a read (not very long).
- Dominant language
- Swift
- Stars
- 13.6k
- Forks
- 681
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from seemoo-lab/openhaystack
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
seemoo-lab/openhaystack#291 ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
seemoo-lab/openhaystack#286 · 1 comment ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
seemoo-lab/openhaystack#283 · 3 comments ·
-
Can You help me Openquestion
Difficulty 5/5 Over a week Newbie friendliness 15/100
seemoo-lab/openhaystack#279 · 1 comment ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
seemoo-lab/openhaystack#278 ·
All issues in seemoo-lab/openhaystack
Similar issues
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
skiptools/skip-fuse-ui#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OneBusAway/onebusaway-ios#1438 · 1 reaction ·