Giới hạn hiện tại
Current limits
Trạng thái. Trang này mô tả bản đang chạy, phát hành ngày 2026-12-02. Mục chưa đo trên production ghi chờ xác minh sau phát hành. Tổng quan.
Status. This page describes the running build, released on 2026-12-02. Items not yet measured on production read awaiting post-release verification. Overview.
Trang này liệt kê các giới hạn còn áp dụng, tác động và cách xử lý. “Chưa được duyệt” nghĩa là chưa có ghi nhận chủ sở hữu hệ thống (Owner) chấp nhận; có thể phải sửa thay vì giữ làm giới hạn. Nhãn trạng thái: xem Bảo mật.
This page lists the limits that still apply, their impact and what to do. “Not approved” means there is no record of the service's owner accepting it; it may have to be fixed rather than kept as a limit. Status labels: see Security.
Ai mở được dữ liệu
Who can open the data
- Bản đang chạy không phải zero-knowledge và chưa có mã hoá đầu cuối. Máy chủ giải mã dữ liệu của người dùng trong lúc họ đang đăng nhập. “Danh tính tự chủ (SSI)” là mục tiêu của mô hình hệ thống, chưa đạt đầy đủ.
- The running build is not zero-knowledge and has no end-to-end encryption. The server decrypts a user’s data while they are signed in. “Self-sovereign identity (SSI)” is the goal of the service model and is not fully met.
- Bản chụp dữ liệu và bí mật máy chủ. Theo thiết kế, kẻ có cơ sở dữ liệu cùng toàn bộ bí mật máy chủ không mở được tài khoản nào (B11/B12). Mới có test tấn công có đối chứng trong môi trường thử: chờ xác minh sau phát hành.
- Snapshots of data and server secrets. By design, someone with the database and every server secret opens no account (B11/B12). So far only attack tests with controls in a test environment: awaiting post-release verification.
- Kiểm soát máy chủ đang chạy (kể cả quyền root): đọc được khoá và dữ liệu của người đang đăng nhập, và có thể thu khoá của mọi người đăng nhập trong thời gian bị chiếm. Đây là giới hạn, không phải điểm đạt.
- Control of the running server (including root): can read keys and data of signed-in users and collect the keys of everyone who signs in during the takeover. This is a limit, not a met point.
- Mất yếu tố tự giữ. Mất mọi thiết bị đã dùng, mã khôi phục thì hệ thống không mở lại được dữ liệu.
- Losing your own factors. If every used device, the recovery code are lost, the service cannot reopen the data.
- Google chưa đủ để vào tài khoản. Cần thêm thiết bị đã dùng hoặc mã khôi phục (chờ xác minh sau phát hành). Mất quyền vào mọi tài khoản Google đã liên kết thì vẫn mất đường đăng nhập.
- Google alone does not open an account. A used device or the recovery code is also needed (awaiting post-release verification). Losing access to every linked Google account still removes the way to sign in.
- Tài khoản Google chính không gỡ được và được bảo vệ 30 ngày; đổi tài khoản chính là lệnh chờ 7 ngày (có báo, chủ huỷ được); quay về tài khoản chính cũ trong 30 ngày có hiệu lực ngay, kể cả từ phiên đăng nhập bằng tài khoản phụ; tài khoản phụ mới thêm dưới 7 ngày gỡ được ngay.
- The primary Google account cannot be removed and is protected for 30 days; changing the primary is a 7-day pending request (notified, cancellable by the owner); returning to the previous primary within 30 days takes effect immediately, even from a session signed in with a secondary account; a secondary account added less than 7 days ago can be removed at once.
- Tự khoá 15 phút đang tắt: phiên đang mở trên máy người dùng không tự khoá khi không hoạt động.
- The 15-minute auto-lock is off: a session left open on the user’s device does not lock itself when idle.
- Cặp cookie thiết bị bị chép, kèm tài khoản Google của nạn nhân, còn mở được tài khoản sau đăng xuất thường, tối đa 400 ngày, tới khi nạn nhân dùng “Đăng xuất mọi thiết bị”, “Không phải tôi” hoặc “Quên thiết bị này”. Chưa được duyệt.
- A copied device-cookie pair, together with the victim’s Google account, can still open the account after an ordinary sign-out, for up to 400 days, until the victim uses “Sign out everywhere”, “Not me” or “Forget this device”. Not approved.
Liên kết và định vị dữ liệu
Linking and locating data
- Cấu hình đăng nhập của dự án đọc được bởi ai có cơ sở dữ liệu, khoá máy chủ của tầng đăng ký và mã dự án, gồm cả địa chỉ đang tắt hoặc chưa xác minh và ngày xác minh. Chưa được duyệt.
- A project’s sign-in configuration is readable by someone with the database, the registration-layer server key and the project id, including disabled or unverified addresses and verification dates. Not approved.
- Gom nhóm và quan sát qua nhiều bản chụp: kẻ có mọi bí mật máy chủ và nhiều bản chụp gom được các dự án cùng chủ; kèm ảnh sổ mốc còn biết một cấu hình đăng ký còn hiệu lực, đã bị thay hay đã đóng, số lần xuất bản lại bỏ dở, nhịp và tổng số giao dịch của hệ thống. Ảnh đĩa thô lấy khi máy đã dừng cho biết giây ghi cuối. Tiêu chí B3 chưa kết luận. Chưa được duyệt.
- Grouping and observation across snapshots: someone with every server secret and several snapshots can group projects of the same owner; with ledger images they also learn whether a registration is live, replaced or closed, the number of abandoned re-publications, and the rhythm and total of system transactions. A raw disk image taken while the machine is off reveals the second of the last write. The B3 criterion is not concluded. Not approved.
- “Không theo dõi chéo” chỉ đúng với mã định danh. Một người vẫn có thể bị ghép giữa các dự án qua tên hiển thị ở chế độ cơ bản, ảnh đại diện (so bằng mắt hoặc nhận dạng ảnh), địa chỉ IP trong nhật ký máy chủ, và thời điểm quan sát được từ bên ngoài. Dấu thời gian trong bảng được lược đồ ép về 0; đo lại trên production chờ xác minh sau phát hành. Chế độ ẩn danh giảm được phần tên và ảnh.
- “No cross-tracking” holds for the identifier only. A person can still be matched across projects through the display name in basic mode, the photo (by eye or image recognition), IP addresses in server logs, and timing observed from outside. Table timestamps are forced to 0 by the schema; re-measurement on production is awaiting post-release verification. The anonymous mode reduces the name and photo part.
- Mã hồ sơ của bản trước mà ứng dụng còn giữ vẫn có thể suy ra từ bản sao lưu cũ cộng mã dự án cũ. Mọi mã hồ sơ đã đổi tại mốc phát hành ngày 2026-12-02; hãy xoá mã cũ.
- Profile ids of the previous build that apps still store can still be derived from old backups plus the old project id. Every profile id changed at the 2026-12-02 release; delete the old ones.
- Bản sao lưu cũ chưa được huỷ và còn chứa: hàng dạng cũ mở được chỉ bằng cơ sở dữ liệu, mã tra cứu đăng nhập dạng băm không khoá, giá trị chặn trùng email, dấu thời gian theo giây.
- Old backups have not been destroyed and still contain: legacy rows that open with the database alone, unkeyed sign-in lookup hashes, email-duplicate values, second-precision timestamps.
- Mã hồ sơ tính theo dự án × chế độ hồ sơ, không theo ứng dụng: các ứng dụng cùng dự án, cùng chế độ nhận cùng một mã. Người dùng đổi chế độ thì ứng dụng nhận một mã khác; dữ liệu gắn với mã cũ không tự chuyển sang.
- The profile id is per project × profile mode, not per app: apps in the same project using the same mode receive the same id. If the user switches mode, the app receives a different id; data tied to the previous id does not move over.
Toàn vẹn, tự phục hồi, sao lưu
Integrity, self-healing, backups
- Phát lại, sửa, xoá bởi kẻ chỉ ghi được cơ sở dữ liệu được phát hiện bằng sổ mốc ngoài cơ sở dữ liệu khi tự phục hồi bật (hiện chưa bật: trong lúc đó không phát hiện được) (test trong môi trường thử, chờ xác minh sau phát hành). Khi bản đăng ký của một dự án bị phá lúc chủ vắng mặt, đăng nhập của dự án đó đóng tới khi chủ quay lại xuất bản lại. Chưa được duyệt.
- Replay, alteration or deletion by someone who can only write the database is detected with a ledger outside the database when self-healing is on (currently not enabled: meanwhile it is not detected) (tested in the test environment, awaiting post-release verification). If a project’s registration is destroyed while the owner is away, its sign-in stays closed until the owner returns and re-publishes. Not approved.
- Giới hạn của tự phục hồi: kẻ ghi được cả cơ sở dữ liệu lẫn sổ mốc, hoặc có root lúc chạy, không bị phát hiện chắc chắn. Mất cả hai tệp sổ mốc thì hàng riêng không phục hồi được. Quá 64 lần xuất bản lại bỏ dở trên một thế hệ thì dự án đó không xuất bản lại được nữa (vẫn xoá được). R2 thật, Object Lock và diễn tập phục hồi trên production: chờ xác minh sau phát hành. Chưa được duyệt.
- Self-healing limits: someone able to write both the database and the ledger, or with root at run time, is not reliably detected. If both ledger files are lost, private rows cannot be recovered. After 64 abandoned re-publications of one generation, that project can no longer be re-published (it can still be deleted). Real R2, Object Lock and a production restore drill: awaiting post-release verification. Not approved.
- Sao lưu toàn hệ thống: chưa có bản sao lưu toàn hệ thống ngoài máy; bản sao từng hàng trên R2 không phải sao lưu toàn hệ thống.
- Whole-system backup: there is no off-host whole-system backup; the per-row R2 copies are not a whole-system backup.
Vận hành và hạ tầng
Operations and infrastructure
- Ranh giới giữa tài khoản web và root: cây mã thuộc root, tài khoản web chỉ đọc được mã và chỉ ghi được 4 thư mục dữ liệu. Với 4 thư mục đó và cửa sổ triển khai, hiện chỉ có phát hiện trong vòng 60 phút cộng quy tắc vận hành; chưa coi là đã khoá.
- Boundary between the web account and root: the code tree is owned by root; the web account can only read code and can write to 4 data directories. For those 4 directories and the deployment window there is only detection within 60 minutes plus operating rules; this is not considered locked.
- Tài khoản web dùng chung cho các site khác trên cùng máy và đọc được tệp cấu hình của hệ thống; lỗi thực thi mã ở bất kỳ site nào trên máy tương đương chiếm tiến trình web hệ thống.
- The web account is shared with other sites on the same machine and can read the service's configuration file; a code-execution flaw in any site on the machine is equivalent to taking over the service web process.
- 9 khoá nội bộ của máy chủ được ghi nhận đã xoay trước mốc phát hành; kiểm đăng nhập bằng khoá mới trên production chờ xác minh sau phát hành. Client secret Google và token R2 chưa xoay; một số bản sao cấu hình cũ chứa chúng từng nằm ở nơi quyền rộng.
- 9 internal server keys are recorded as rotated before release; checking sign-in with the new keys on production is awaiting post-release verification. The Google client secret and the R2 token have not been rotated; some old configuration copies containing them once sat in widely readable places.
- Trần ghi: khi tự phục hồi bật, toàn hệ thống chỉ ghi được khoảng 1.024 lần được bảo vệ mỗi giờ; hàng chờ đầy hoặc bộ gửi dừng (khởi động lại có thể tới khoảng 30 phút) thì lệnh ghi bị từ chối. Chưa được duyệt.
- Write ceiling: with self-healing on, the whole system allows about 1,024 protected writes per hour; if the queue is full or the sender is down (a restart can take about 30 minutes), writes are refused. Not approved.
- 503 toàn hệ thống: thiếu khoá hoặc cấu hình của tự phục hồi, tắt nó sau khi đã bật, hoặc mất cả hai tệp sổ mốc thì mọi trang trả 503. Chưa được duyệt.
- System-wide 503: missing self-healing keys or configuration, turning it off after it was on, or losing both ledger files makes every page return 503. Not approved.
- Chưa có bản offline thứ hai được ghi nhận cho khoá sổ mốc thì mất khoá đó đồng nghĩa mất khả năng xác minh.
- No recorded second offline copy of the ledger key: losing the key means losing the ability to verify.
- Cloudflare giải TLS cho eywa.id và auth.eywa.id nên thấy được yêu cầu đăng nhập, kể cả yêu cầu đăng nhập Google.
- Cloudflare terminates TLS for eywa.id and auth.eywa.id and therefore sees sign-in requests, including Google sign-in requests.
- Cookie phiên và cookie yếu tố thiết bị là hai thứ khác nhau. Cookie phiên (
__Host-at) chỉ mang mã phiên ngẫu nhiên, không mang khoá; hết hạn sau 14 ngày không dùng, tối đa 30 ngày. Cookie yếu tố thiết bị (cặp__Host-ds/__Host-rk) mang một nửa khoá và bản bọc của khoá người dùng; được giữ qua đăng xuất thường, hạn 400 ngày, và chỉ có tác dụng kèm một lần đăng nhập Google mới. - The session cookie and the device-factor cookie are different things. The session cookie (
__Host-at) holds a random session id only, no key; it expires after 14 idle days, 30 at most. The device-factor cookie (__Host-ds/__Host-rk) holds half a key and a wrapped copy of the user key; it is kept across ordinary sign-out, lasts 400 days, and works only together with a fresh Google sign-in. - Chưa có kiểm toán độc lập của bên thứ ba. Mọi kết quả trên các trang này là kiểm chứng nội bộ; “rà soát” hay “reviewer” là người rà nội bộ, tách khỏi người triển khai.
- There is no independent third-party audit yet. Every result on these pages is internal verification; a “review” or “reviewer” means an internal reviewer, separate from the implementer.
- Node (L4) chưa triển khai.
- Node (L4) is not implemented.
Giao thức và tích hợp
Protocol and integration
- Hệ thống dùng giao thức riêng (Protocol v1): trình duyệt đi qua
/consent, máy chủ của bạn đổi token ở/session. Mã OIDC chưa bật:/oidc/…và discovery trả 404. - The service uses its own protocol (Protocol v1): the browser goes through
/consentand your server exchanges the token at/session. The OIDC code is not enabled:/oidc/…and discovery return 404. https://eywa.id/sdk.jschưa tự tạostate/PKCE nên không dùng được khi dự án bắt buộc PKCE (cấu hình khuyến nghị); nó chỉ để thử nhanh. Production bắt đầu luồng tại/consenttừ máy chủ, cóstatevà PKCE S256 (xem Luồng đăng nhập).https://eywa.id/sdk.jsdoes not generatestate/PKCE, so it cannot be used when a project requires PKCE (the recommended setting); it is for quick trials only. In production, start the flow at/consentfrom your server, withstateand PKCE S256 (see Sign-in flow)./sessionchỉ bắt buộcredirect_urivới dự án có PKCE hoặc client secret; dự án công khai không có hai thứ này thì vẫn tuỳ chọn (EYWAL-PROTO-031, FAIL). Luôn gửi./sessionrequiresredirect_urionly for projects with PKCE or a client secret; for public projects without either it is still optional (EYWAL-PROTO-031, FAIL). Always send it.- Thu hồi quyền ứng dụng chỉ khiến lần đăng nhập sau phải hỏi lại; không huỷ phiên đang mở trong ứng dụng của bạn. Token đã phát trước lúc thu hồi và còn hạn (token sống 5 giây, thực tế tới khoảng 6 giây do làm tròn giây) vẫn đổi được; ứng dụng vẫn giữ mã hồ sơ đã nhận, và nếu người dùng cho phép lại thì nhận lại đúng mã đó. Không có API kiểm lại hay refresh token: mỗi lần đăng nhập là một lần đổi token; muốn tôn trọng thu hồi, dùng phiên ngắn (xem Danh tính & quyền riêng tư).
- Revoking an app only makes the next sign-in ask again; it does not end sessions already open in your app. A token issued before the revocation and not yet expired (tokens live 5 seconds, in practice up to about 6 because expiry is rounded to the second) can still be exchanged; your app keeps the profile id it already received, and receives the same id if the user allows it again. There is no re-check API and no refresh token: every sign-in is one token exchange; to honour revocation, use short sessions (see Identity & privacy).
- “Huỷ” trên màn đồng ý đưa người dùng về trang chủ eywa.id; ứng dụng không nhận callback hay mã lỗi nào. Ô “Tôi đã đọc mục đích và đồng ý…” mặc định đã tích; bỏ tích thì nút “Cho phép” mờ, và máy chủ từ chối cấp quyền nếu thiếu ô này.
- “Cancel” on the consent screen takes the user to the eywa.id home page; your app receives no callback and no error code. The “I have read the purpose and agree…” box is ticked by default; unticking it disables “Allow”, and the server refuses to grant without it.
- Địa chỉ chuyển hướng phải xác minh trên domain có IP công khai, cổng 80/443: localhost không xác minh được (xem Xác minh địa chỉ). Chưa có môi trường sandbox công khai; Playground chỉ tạo giá trị cục bộ.
- A redirect address must be verified on a domain with a public IP, port 80/443: localhost cannot be verified (see Verifying an address). There is no public sandbox yet; the Playground only generates values locally.