2021年7月24日 星期六

Google Messages block some particular 6 digits OTP code

前陣子發現的怪問題, Google 預設的簡訊程式 Messages 會阻檔特定格式的 OTP code
用了兩支手機,花了一些簡訊費,交叉測試而得到結論。
以下這個格式會被檔

123456 is your Messages verification code

用 Google Messages 就直接消失,看不到,使用其他簡訊 App 則正常
除了前面數字,後面的字,加一個字母或少一個字母都不會檔喔,改用 5 個或 7 個數字也不會被擋
簡直就像 Regexp Match /^[0-9]{6} is your Messages verification code/ 直接 Drop 一樣。
Google 之後,有人收到類似的 SMS
Dozens of SMS codes being sent to me per day, but no one's asking for them

另一個可能有關聯是這個功能,但 auto-delete 也應該要在一段時間後吧
One-time password auto-delete in Google Messages is arriving in beta

總之是怪問題,先改用 Truecaller 的 SMS


沒有留言:

DNS negative cache

在查詢一個域名時,若當資料不存在,會出現 NXDOMAIN DNS 也會 cache 這個查不到的結果,其預設的 TTL 跟 DNS 及 Zone 的 SOA TTL 有關 例如 BIND 的 max-ncache-ttl 預設是 10800 秒 當 SOA 中的 TTL 小於 ...