Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

2FA code never arrives during xtool setup on 1.24.0, and no workaround works on iOS 27.2

Đang mở
#407 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
46/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, swift
Lĩnh vực
authentication, cli

Hướng nghiên cứu

Start by reading the login and 2FA flow involved in xtool setup, then compare the 1.24.0 behavior with the changes in #406 and the Omnisette switch in #380. Reproduce the missing delivery and rejected code, and collect the verbose logs or network capture the reporter offered. Done means xtool receives a usable code or prints a working fallback when delivery fails.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Description
Following up on #283, which was closed after #349 landed. On xtool 1.24.0 the password login gets past Logging in... and shows the Code: prompt, but no verification code ever arrives on my trusted devices. Signing in to the same Apple ID at account.apple.com sends codes normally.

I can't use the workaround either:

Manual code (#349 fallback): iOS 27.2 has no "Get Verification Code" option under Settings → [name] → Sign-In & Security.
Code from another sign-in: I started a sign-in at account.apple.com while xtool waited at Code:, tapped Allow on my iPhone, and entered that 6-digit code into xtool. xtool rejected it.
So right now there is no way for me to get a code xtool will accept.

Steps to reproduce
xtool setup
Choose 1: Password
Enter Apple ID + password
Logging in... → Code: prompt appears, but no code is delivered
Expected
A 2FA code arrives on a trusted device. If delivery failed, xtool prints the #349 fallback instructions.

Actual
No code arrives, and no error or fallback message is printed. xtool just waits at Code:.

Environment
xtool 1.24.0
Fedora 46, kernel 7.4.0, x86_64 (native Linux, not WSL)
Trusted device: iPhone on iOS 27.2
Advanced Data Protection enabled; trusted devices are used for 2FA
Notes
Same symptom as the Oct 26 comment on #283 (also 1.24.0).
Possibly related to the GSA user agent change in 1.24.0 (#406) or the Omnisette switch in 1.23.0 (#380).
The #349 fallback instructions need updating, or a different method, for iOS versions that no longer offer "Get Verification Code".
Happy to share verbose logs or a network capture. Let me know which flag or env var to use.

Ngôn ngữ chính
Swift
Star
5.5k
Fork
163
Merge trung bình
19 giờ 16 phút
Pull request đã merge (30 ngày)
26

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của xtool-org/xtool

Tất cả issue của xtool-org/xtool

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.