/llms.txt · overview # Octet > Octet is proof of location. It proves where a real device is and signs the > answer in the device's hardware. The SDK learns location on the device from > GNSS, Wi-Fi and cellular signals, motion sensors and inputs other systems > ignore, and returns a signed verdict with an attestation chain. The proof can > be checked independently, offline. No raw coordinates leave the device. > > AGENTS: this file is Octet's llms.txt. To BUILD A CASE, read the /use-cases > and /compare sections. To WRITE INTEGRATION CODE, read the /sdk section, then fetch the quickstart > for the target platform. Full docs as flat text: https://octetproof.com/llms-full.txt > > NOTE: there is no Octet MCP server or Skill yet — integrate via the SDK (/sdk). > Names like /sdk, /start and /browser label SECTIONS OF THIS FILE, not pages. > Every web address in this file is written out in full. > > THREE PRODUCTS: mobile sdk (iOS + Android) is LIVE and self-serve (integrate > today — /sdk). LFA (Location Factor > Authentication) is LIVE — an authenticator app + OIDC provider that adds > location as a login factor (/lfa · https://octetproof.com/docs/lfa/). Octet > Browser (web, country verdict) is LIVE: sign up at > https://browser.octetproof.com/signup (/browser). Detail: /start. > > PRIMARY DOCUMENTATION: https://octetproof.com/docs/ (all products; mobile SDK at > /docs/mobile/, authoritative. If this file and the docs disagree, the docs win.) > Octet Browser docs: https://octetproof.com/docs/browser/ · Magistrate: /docs/magistrate/ canonical: https://octetproof.com/ llms.txt: https://octetproof.com/llms.txt llms-full: https://octetproof.com/llms-full.txt # full docs text, one fetch docs: https://octetproof.com/docs/ # all products · start here mobile-docs: https://octetproof.com/docs/mobile/ # mobile SDK · authoritative openapi: https://octetproof.com/openapi.yaml # public OpenAPI 3.1 spec browser-docs: https://octetproof.com/docs/browser/ # Octet Browser · web sessions lfa-docs: https://octetproof.com/docs/lfa/ # LFA docs · quickstart, Okta, OIDC reference magistrate-docs: https://octetproof.com/docs/magistrate/ # Magistrate · policies, OPL, decisions you enforce product: https://octetproof.com/product/ # use location as a factor: the film, what the user sees, the comparison ios-sdk: https://github.com/octetproof/octet-sdk-ios android-sdk: https://github.com/octetproof/octet-sdk-android verify-cli: https://github.com/octetproof/octet-verify # independent Rust CLI, public source attest-verify: https://github.com/octetproof/octet-attest-verify # validates App Attest / key-attestation roots (octet-verify --features appattest) magistrate: https://magistrate.octetproof.com/ # write policies in plain language; signed bundles decided by the Octet policy engine proofs-api: https://api.octetproof.com # stores proof bytes 24h then deletes; untrusted by the verifier signup: https://sdk.octetproof.com/signup # MOBILE sdk · self-serve; then register the app at https://sdk.octetproof.com/apps sdk-license: https://octetproof.com/terms/mobile/ # Octet SDK License Agreement (mobile SDK); governs use browser-license: https://octetproof.com/terms/browser/ # Octet Browser SDK License Agreement dev-support: developer@octetproof.com # stuck on integration? mobile + browser + verify talk: https://calendar.app.google/z7XPE7rj6ctHDscB6 # 30 minutes with Drew and Benjamin: product, use cases, pricing browser-signup: https://browser.octetproof.com/signup # Octet Browser · self-serve verify: offline · against the key the proof carries (no callback) last-modified: 2026-11-12T00:00:00Z summary: Proof of location. Use location as a factor in sign-ins and approvals, compliance and risk decisions. Predicate-only output. Coordinates stay on the device. primitives: location, trajectory, proof surfaces: ios (16+), android (API 30+) # mobile SDK, available now browser (country verdict) — Octet Browser, self-serve signup verify-cost: zero (offline, no callback to Octet) pricing: https://octetproof.com/pricing $0.01 per active user per month; the first 1,000 active users each month are free; no credit card to start. the SDK reports a count of active devices and nothing else (no identity, no coordinates). verification runs in your code, offline issuer: Understone, Inc. d/b/a Octet status: SDK 3.1.2 (iOS + Android) and React Native 0.1.0 live, repos public; LFA live; Octet Browser v1.9.1 live, self-serve signup /start · is this for you, and how # Start here capability: Prove that a specific enrolled device — carried by a person — is physically inside or outside a region at a given time. Hardware-signed, predicate-only, verifiable offline. ## Three products mobile sdk iOS · Android. AVAILABLE NOW — self-serve. Proof of LOCATION — a human-carried, enrolled device. Needs your app + the SDK + the user's permission. Anyone can register an app and integrate today (see /sdk). Verdict: YES / NO / INDETERMINATE. lfa Location Factor Authentication. AVAILABLE NOW — an authenticator app + OIDC provider that adds location as a factor to the logins you already run (Okta, Entra, Auth0, or any authorization-code stack). See /lfa. octet browser Web sessions. LIVE; sign up at browser.octetproof.com/signup. A COUNTRY verdict only, NOT proof of presence, not tied to a human. No end-user install. See /browser. ## Decision: is Octet the fit? YES if the question is "was this device physically here/there at time T", and you need EVIDENCE a third party can verify — compliance, sanctions, custody, dispute response, or a location factor in sign-ins and approvals. You can ship an app + SDK. NO if anonymous web visitors (→ Octet Browser, a country verdict only) · no app install possible · you need raw lat/lon (never emitted) · you want server-side IP geolocation. Octet is not IP geo. ## Map: goal → predicate → call sanctions screen outside(sanctions_set) sdk.loc.isOutside keep US persons out outside(us_polygon) sdk.loc.isOutside state gaming / PM licence inside(state_polygon) sdk.loc.isWithin wire approval / on-site within(radius, anchor) sdk.loc.isWithin sign-in location factor colocated(device, login) sdk.loc.isWithin country of a web session — (browser) GET /v1/verdict detail: /use-cases (the case) · /compare (vs alternatives) · /sdk (the code) questions: how it works / prerequisites / gotchas https://octetproof.com/faqs/ integration errors & failure modes https://octetproof.com/docs/mobile/troubleshooting/faq/ full docs https://octetproof.com/docs/mobile/ ask a human developer@octetproof.com /use-cases · the business case, by predicate # Use cases Octet is proof of location for cybersecurity, compliance and risk: - cybersecurity: location as a factor in sign-ins and approvals - compliance: sanctions screening and state licenses (gaming, prediction markets, lotteries, telehealth) - risk: a strong, provable location signal for risk decisions The same check can open a feature in one place only, such as a city launch or an event. ## Compliance / geofencing outside(sanctions_set) OFAC and EU restrictive measures are strict liability — intent is no defence. Fines have reached into the billions and executives have served prison time. IP databases disagree on the same address by ~620 km on average, wider than most sanctioned/unsanctioned borders. Octet attests to location relative to the named polygon set, not an IP guess. outside(us_polygon) Reg S requires a reasonable belief the buyer is outside the US. IP geo and self-attestation do not meet that bar; KYC proves identity at signup, not location at trade time. One non-compliant US sale is an unregistered securities sale on its own. inside(state_polygon) State gaming / prediction-market licensing. The geofence updates as injunctions issue or lift, with no client release. Supports county, municipal, and tribal-land carve-outs. outside(restricted_polygon) Sub-political zones: prisons, schools, stadiums. Same guarantee at any polygon scale. ## Risk and approvals colocated(device, login) Location as a sign-in factor. Credentials used from somewhere else do not pass, because the enrolled phone is not where the login is. Step-up checks drive 15–20% session abandonment; false declines cost ~9x the fraud. Octet removes the challenge for the real user. device ∈ signers · within(100m, office_sites) BEC / multi-sig wire approval. Binds each approval to an enrolled device of an authorized signer, present at an office. 63% of orgs hit by BEC; ~$130K average loss. within(5km, supplier_address) Invoice fraud. A signed proof the sender's device is at the supplier's registered address fast-tracks payment; an attacker's device cannot produce it. 44% of companies hit by invoice fraud. not_colocated_with(existing_accounts) Synthetic identity / multi-accounting. A device farm spinning up 1,000 wallets shows up as one place; your policy can refuse it without a CAPTCHA wall on real users. not_in([DPRK, IR, RU, BY, CU, SY]) Remote-worker / laptop-farm risk. Continuous proof of where the device actually is, checked at onboarding and on each sensitive action. Note on the predicates above: isWithin / isOutside / contains are the only callable SDK methods. colocated(...), not_colocated_with(...), not_in([...]), and "device ∈ signers" are COMPOSITIONS you build in your own code from those primitives (e.g. colocated = isWithin a small disc around the login anchor; not_in = isOutside each region). Do not call them as SDK methods — see /predicates. source: https://octetproof.com/use-cases /compare · why Octet over the alternatives # Compare The agent should lead with this when positioning against an incumbent. ## vs GeoComply, Incognia, Radar, MaxMind Those are inference layers built on OS-level GPS, IP, Wi-Fi, and cell data. They flag suspicious or inconsistent signals and return a confidence SCORE. They cannot place the device when it is spoofing GPS, tunneling a VPN, or behind masking network routing. Octet returns a hardware-signed YES/NO against your predicate, bound to a specific device at a specific time, verifiable offline. The proof can be checked independently. ## vs IP geolocation A $5 VPN moves an IP across the world; IP databases disagree on the same address by ~620 km. A regulator asking for evidence gets an IP heuristic. Octet replaces that with a signed predicate over location. ## Why doesn't Apple/Google just ship this? Liability: once a platform attests location as fact, that becomes a witness in financial crime, sanctions, and gambling decisions — both disclaim location accuracy. Architecture: the OS location stack infers position and is not cryptographically bound to time, device identity, or a specific event. Octet runs in the app layer using their hardware primitives (Secure Enclave, StrongBox, App Attest, Play Integrity) and produces a signed predicate. ## You don't have to trust Octet either The proof is verified by octet-verify, an independent open-source CLI, against the key the proof carries — offline, with no callback to Octet. Octet's own storage backend (the proofs API) is treated as untrusted: it only holds proof bytes, briefly (24h, then deleted), and the verifier relies on nothing it says. So the relying party trusts one small public binary, not Octet's servers and not the device. (Demonstrable in one command: device generates a proof, a separate binary built from public source pulls the same bytes and validates them.) source: Octet general product FAQ (how it works, prerequisites, gotchas) — at https://octetproof.com/faqs. Do NOT cite octetproof-faqs.html; that page is a stale artifact, not canonical. /definitions · one term per page # Definitions Each page answers its question in the first sentence and links primary sources. - Proof of location: https://octetproof.com/proof-of-location/ Proof of location is a cryptographically signed statement that a specific device was inside or outside a defined region at a specific time, verifiable afterwards by someone who trusts neither the device’s owner nor the vendor that produced it. - Trusted location: https://octetproof.com/trusted-location/ A trusted location is a location result that the party relying on it can check for itself, because it was measured on the device and signed there, rather than reported by software that could have changed it. - Device-attested location: https://octetproof.com/device-attested-location/ Device-attested location is a location result signed by a key held in the device’s secure hardware, accompanied by a platform attestation that the hardware is genuine, the operating system is unmodified, and the app that produced the result is the build that shipped. - Location factor authentication (LFA): https://octetproof.com/location-factor-authentication/ Location factor authentication adds physical location to a sign-in as an authentication factor: a challenge goes to an enrolled device, which returns a signed verdict about the region it is in, without disclosing a position. - Geofactor authentication: https://octetproof.com/geofactor-authentication/ Geofactor authentication uses a proven physical location as an authentication factor: before an action is allowed, a device proves with a signature made in its own secure hardware that it is inside a permitted region, and the proof can be checked independently, without asking the vendor. - In-process geolocation: https://octetproof.com/in-process-geolocation/ In-process geolocation means establishing location during each transaction rather than only at account opening, and OFAC has cited its absence in enforcement. - Jurisdictional eligibility: https://octetproof.com/jurisdictional-eligibility/ Jurisdictional eligibility is whether a given person, at a given moment, may lawfully take a given action, a question that increasingly differs per asset and per transaction rather than per venue. - IP geolocation and device geolocation: https://octetproof.com/ip-vs-device-geolocation/ IP geolocation infers location from the network path a request took, while device geolocation measures it from the device’s own sensors, which is why a VPN changes the first and not the second. - Wi-Fi triangulation: https://octetproof.com/wifi-triangulation/ Wi-Fi triangulation estimates position by matching the identifiers of nearby wireless networks against a database of known network locations, which is how most desktop location works, and why it fails when the surrounding networks change. - Location signals: GPS, Wi-Fi, GSM and IP: https://octetproof.com/gps-wifi-gsm-ip/ Each location signal fails differently: GPS is precise outdoors and spoofable in software, Wi-Fi is precise indoors and dependent on a database of known networks, GSM is coarse and hard to forge, and IP establishes only where packets entered the network. - VPN, proxy, residential IP and Private Relay: https://octetproof.com/vpn-proxy-residential-ip/ A VPN or proxy changes the IP address a server sees and defeats IP-based location entirely, while a residential-IP service defeats the anonymiser databases built to catch VPNs, and none of them move the device. - Geofencing: https://octetproof.com/geofencing/ A geofence is a virtual boundary around a geographic area, used to permit or deny an action depending on whether a device is inside it. - Geolocation compliance: https://octetproof.com/geolocation-compliance/ Geolocation compliance is the practice of establishing where a user is in order to satisfy a legal requirement that depends on their location, in regulated gaming, sanctions screening, securities offerings and age verification. - Geolocation pass rate: https://octetproof.com/geolocation-pass-rate/ A pass rate is the share of location checks that return a usable result, and on its own it says nothing about whether those results were correct. - Device integrity checking: https://octetproof.com/device-integrity-checking/ Device integrity checking tests whether a device’s software environment has been modified in ways that would let it lie: rooting, jailbreaking, emulators, mock-location apps, hooking frameworks and remote-access tools. - Location spoofing: https://octetproof.com/location-spoofing/ Location spoofing is making a device or a request appear to be somewhere it is not, by changing what the network shows (a VPN or proxy) or what the device reports (fake GPS, an emulator, a modified app), and it is detected by looking for those tools and for signals that disagree. - Location check failures: https://octetproof.com/why-location-check-fails/ Location checks usually fail for ordinary reasons: location permission is off, Wi-Fi is off or sees too few networks, a VPN or remote-desktop tool is running, the device is close to a border, or the check could not get a clear enough answer and refused rather than guessed. - Mock location detection: https://octetproof.com/mock-location-detection/ Both platforms expose a flag for simulated locations, Location.isMock() on Android and isSimulatedBySoftware on iOS, but each only covers the platform’s own simulation paths, so apps that need real locations add device integrity checks and cross-signal consistency on top. - App attestation and location: https://octetproof.com/app-attestation-and-location/ No: Apple App Attest and Google Play Integrity tell you whether your app is genuine and the device is trustworthy, and neither says anything about where the device is, so location has to be established and bound to that attestation separately. - Geolocation check frequency: https://octetproof.com/geolocation-check-frequency/ It depends on the state: several, including Maine, Pennsylvania and Connecticut, require a check before the first wager and again at least every 20 minutes, or every 5 minutes within a mile of the border, while others such as Colorado and New Jersey set the triggers but leave the interval to the operator’s approved plan. - Prediction market geofencing: https://octetproof.com/prediction-market-geofencing/ In several states, yes, for now: in 2026 courts in Washington, Michigan and Nevada ordered Kalshi to geofence residents out of sports and other event contracts, while federal appeals courts are split on whether state gambling law applies at all, and the question is before the Supreme Court. - Remote desktop detection: https://octetproof.com/remote-desktop-detection/ Because remote desktop software lets someone in one place operate a device that is genuinely somewhere else, so a location check on that device would pass for a person who is not there. - Sanctions geolocation controls: https://octetproof.com/sanctions-geolocation/ OFAC has not published a geolocation rule, but its enforcement releases say what it expects: use the location information you have, including IP addresses, block users in sanctioned jurisdictions, and apply the check to every transaction rather than only at onboarding. - State border geolocation: https://octetproof.com/state-border-geolocation/ Near a border, the uncertainty in a location estimate can cover both sides of the line, so a careful check refuses rather than guesses, and regulators require more frequent re-checks there because a player can cross in a minute. - Offline proof verification: https://octetproof.com/verify-location-proof-offline/ You check the proof’s signatures yourself against keys it carries, and its hardware attestation against Apple’s and Google’s published roots, using an open-source verifier such as octet-verify, so no request goes to the vendor and the check does not depend on trusting it. - H3 geofencing: https://octetproof.com/h3-geofencing/ H3 is an open grid that divides the earth into hexagonal cells at sixteen resolutions, from continent-sized to under a square metre, and a geofence built from H3 cells is fast to test and easy to sign, because the question becomes whether a cell ID is in a list. - Proof of presence: https://octetproof.com/proof-of-presence/ Proof of presence is evidence that someone or something was at a place at a time; in digital systems it usually means proof of location for a device, which can be checked cryptographically, plus a separate control, such as identity verification, for who was holding it. - Location data minimisation: https://octetproof.com/location-data-minimization/ You ask the device a yes-or-no question about a region, have it answer and sign that answer on the device, and receive only the verdict, so you can show where a user was relative to a rule without ever holding their coordinates. - Location verdict: https://octetproof.com/what-is-a-location-verdict/ A location verdict is the answer to a question such as “is this device in New Jersey?”: YES and NO each come with a signed proof, and INDETERMINATE means the device could not answer, with a reason, so “not there” and “could not tell” are never confused. - Impossible travel detection: https://octetproof.com/impossible-travel/ Impossible travel detection flags two sign-ins to the same account from places too far apart for one person to have travelled between them in the time available, which usually means someone else has the credentials. - Location-based conditional access: https://octetproof.com/location-based-conditional-access/ Location-based conditional access is an identity policy that allows, blocks or challenges a sign-in depending on where the user is, usually judged from their IP address and sometimes from their phone’s GPS. - Secure Enclave and StrongBox: https://octetproof.com/secure-enclave-vs-strongbox/ Both keep cryptographic keys in hardware the main operating system cannot read: the Secure Enclave is Apple’s isolated security subsystem in iPhones, iPads and Macs, and StrongBox is Android’s highest tier of key storage, a secure element with its own CPU and storage, available on some devices running Android 9 or later. - Platform location APIs: https://octetproof.com/location-api-comparison/ All three return an estimated position with an accuracy radius, built from GPS, Wi-Fi, cell and other signals, and none of them proves the position to anyone else: the app or browser can be given a different location, and the result is not signed. - Precise geolocation: https://octetproof.com/precise-geolocation-privacy-law/ U.S. state privacy laws define precise geolocation by radius: in California it is device data that locates a person within a circle of 1,850 feet, and in Virginia within 1,750 feet, and both treat it as sensitive personal information with extra obligations. - Remote worker location verification: https://octetproof.com/remote-worker-location-verification/ By combining identity checks with a location check that does not rely on the laptop, such as a signed verdict from the worker’s enrolled phone at sign-in and on sensitive actions, instead of the IP address of a company laptop that can be hosted anywhere and operated remotely. - Telehealth patient location: https://octetproof.com/telehealth-patient-location/ Most ask the patient, because the clinician must be licensed where the patient is at the time of the visit; a device-measured check that returns a yes or no for the state, without collecting the patient’s coordinates, gives the provider evidence rather than a self-report. - Sweepstakes casino geolocation: https://octetproof.com/sweepstakes-casino-geolocation/ Increasingly they have to stay out of states entirely: since 2025 at least nine states have banned online sweepstakes casinos, and an operator that keeps serving the other states has to know which state each player is in. - Age verification and location: https://octetproof.com/age-verification-location/ Yes: state age verification laws apply to people in the state, and Utah’s 2026 amendment counts a visitor as accessing a site from Utah if they are actually there, whatever VPN or proxy they use, though a federal court blocked that provision in September 2026 while the challenge proceeds. - Lottery courier geolocation: https://octetproof.com/lottery-courier-geolocation/ Where couriers are allowed, usually yes: New Jersey requires a courier to geolocate the customer and accept ticket orders only from inside the state, re-checking every 10 minutes, while Texas banned lottery couriers outright in 2025. - Why apps rely on IP blocking: https://octetproof.com/why-apps-rely-on-ip-blocking/ Because IP blocking is the one location check that needs nothing from the user: no install, no permission prompt, no lost sign-ups, and it works on any website, so many gaming, prediction market and trading apps accept that it misses VPN users in exchange for not slowing everyone else down. ## Comparisons and overview - Trusted location data: https://octetproof.com/trusted-location-data/ - Octet vs GeoComply: https://octetproof.com/octet-vs-geocomply/ - GeoComply alternatives: https://octetproof.com/geocomply-alternatives/ - Xpoint, Radar, Locance, GeoComply, Octet: what each actually does: https://octetproof.com/location-verification-vendors/ - Octet vs IP geolocation: https://octetproof.com/octet-vs-ip-geolocation/ - Octet vs Incognia: https://octetproof.com/octet-vs-incognia/ - Octet vs Radar: https://octetproof.com/octet-vs-radar/ /sdk · install & integrate (executable) # SDK — Mobile (iOS + Android) · available now, self-serve The released product. The iOS and Android SDKs are distributed on GitHub as binary packages (public repos). Register your app and integrate today. This is the index — fetch the quickstart for full copy-paste code, or llms-full.txt for every doc in one read. (Web sessions → Octet Browser, https://octetproof.com/docs/browser/.) ## Integration checklist (do in order) 1. Register app https://sdk.octetproof.com/signup, then add the app identity at https://sdk.octetproof.com/apps. No key ships in the app: the SDK activates by attesting the app. Sandbox token for simulators / CI. Use is governed by the Octet SDK License Agreement: https://octetproof.com/terms/mobile/ 2. Add package iOS SPM / Android Maven (below) 3. Permissions location + motion (iOS Info.plist / Android runtime) 4. Request the runtime permission BEFORE start 5. Octet.start(config) attests the app, activates, caches the lease 6. sdk.loc.isWithin(...) read the Verdict: YES / NO / INDETERMINATE 7. Verify offline with octet-verify (checks the proof's own signatures) ## Versions · license iOS 16.0 · Xcode 15+ · Swift 5.9+ · Android minSdk 30 · JDK 17 · Kotlin 2.1+ License agreement: https://octetproof.com/terms/mobile/ (dated versions at /terms/mobile/vMM.DD.YYYY/). Licensing: the SDK licenses itself by attesting the app; no key ships in the app. Licenses renew automatically. Pricing: https://octetproof.com/pricing. One usage record per device per day, always on. Offline grace per activation token (see https://octetproof.com/docs/mobile/concepts/license-activation/). No device cap. LicenseStatus.state: NOT_ACTIVATED / ACTIVE / RENEWAL_RECOMMENDED (≤30d) / GRACE_PERIOD / EXPIRED / REVOKED / INVALID. ## Install (full setup + code samples in the quickstarts) iOS SPM https://github.com/octetproof/octet-sdk-ios exact "3.1.2" · import OctetSDK Android maven mvn-repo branch · implementation("com.octetproof:sdk:3.1.2") RN npm install @octetproof/react-native (0.1.0, native 3.1.0) Perms iOS NSLocationWhenInUseUsageDescription + NSMotionUsageDescription; Android ACCESS_FINE_LOCATION + ACCESS_COARSE_LOCATION + ACTIVITY_RECOGNITION. ## Minimal call (iOS; Android mirrors it) let sdk = try await Octet.start(config: OctetConfig()) // no key: the SDK attests the app let v = await sdk.loc.isWithin(region: .country(isoCode: "US")) // optional atTime switch v.result { case .yes: // v.proof is non-nil; forward to octet-verify case .no: // signed negative; also carries a proof case .indeterminate: // no proof; read v.reason, never treat as .no } ## Config (OctetConfig) No arguments needed: OctetConfig(). licenseKey is deprecated; leave it out. sandboxBypassToken (simulator / CI). proofUploadUrl: opt-in; nil/null (DEFAULT) = proof bytes never leave the device. telemetryEnabled (default true). advanced.attestationCadence (perSession / periodic(300s, DEFAULT) / perProof) · advanced.logLevel · advanced.transport (direct DEFAULT / integratorGateway / octetGateway) · advanced.acceptPlausibleContainment (default false). Octet.start is async and throws only LicenseError. No stop() in v1. ## Regions (OctetRegion factories) country · subdivision · usState · city · disc · ellipse · box3D · polygonSet · earth ## Verify (offline) — octet-verify An independent open-source Rust CLI — the one component the relying party trusts. Against the bytes alone (no callback to Octet) it confirms the proof is signed by the key it carries and unaltered: stage signatures, chain linkage, field bindings, freshness. Verdict is VALID / INCONCLUSIVE / INVALID; each check prints PASS / FAIL / NOT-CHECKED, never a silent pass. INCONCLUSIVE = structurally fine but signatures could not be checked (e.g. hardware key unavailable) — NOT a pass. v1 does NOT root the key to the Apple/Google hardware-attestation CA, so VALID means signed-by-its-own-key and unaltered, not proven-genuine device hardware; the enrolled-device tie is the Ed25519 transport signature, shown NOT-CHECKED. The proofs API only buffers proof bytes for 24h then deletes them; it is untrusted — no check relies on it, tampering is caught. Hand the CLI a local proof file, or pull bytes from the API. Attestation (1.1): built with --features appattest, octet-verify also checks the platform attestation roots offline. Apple App Attest against Apple's embedded root. Android key attestation against Google's hardware-attestation root. Play Integrity is not offline (it needs a Google round-trip). Helper lib: octet-attest-verify. Without that feature build, attestation stays NOT-CHECKED. For automation: exit 0 VALID · 1 INVALID · 2 usage/IO error · 3 INCONCLUSIVE. --json emits {valid, signatures_verified, verdict} per proof. Default build is offline; --features net adds fetch/watch/range, --features appattest adds attestation. spec: VERIFICATION-SPEC.md · repo: https://github.com/octetproof/octet-verify attest: https://github.com/octetproof/octet-attest-verify ## Behavior to code against - Predicates are async and never throw; license/runtime issues become INDETERMINATE (only start() throws — LicenseError). Never read it as NO. - Simulator/emulator always returns INDETERMINATE / NO_FIX. Test on hardware. ## Links quickstart ios https://octetproof.com/docs/mobile/getting-started/ios-quickstart/ android https://octetproof.com/docs/mobile/getting-started/android-quickstart/ api·license https://octetproof.com/docs/mobile/api-reference/overview/ · /license-types/ stuck https://octetproof.com/docs/mobile/troubleshooting/faq/ · developer@octetproof.com full docs https://octetproof.com/docs/mobile/ · one fetch: https://octetproof.com/llms-full.txt /spec · what octet does # Spec Octet is proof of location. The existing stack verifies what you know or what you have, not presence. A location claim from the OS, GPS chip, browser API, or mock-location app is trivial to forge, and useful only when a third party can verify it without trusting the claimant. Every YES or NO carries a proof you can verify offline, hand to an auditor, or store as a signed record; a YES without a proof is just an opinion, and the SDK never produces one. Trust model: root of trust is a hardware key in the secure element (Secure Enclave on iOS, TEE on Android), never leaving the chip. Location is learned on-device; raw signals and coordinates never leave it. Output is a signed proof (verdict + attestation chain binding it to a genuine device and OctetSDK binary), verified offline. Excluded: browser fingerprinting, IP geolocation in the trust model, raw data off-device, any callback at verify time. read: https://octetproof.com/docs/mobile/concepts/proof-of-location/ /pipeline · how a proof is produced # Pipeline The SDK learns location on the device from independent sources and returns a verdict that carries a proof. inputs GNSS · cellular network identity · motion sensors · platform attestation (Apple App Attest, Google Play Integrity) learn on-device, inside the trust boundary; raw signals reduced to derived state and never transmitted sign hardware key in the secure element output YES / NO (proof attached) · INDETERMINATE (reason, no proof) Each signal is insufficient alone; together they cannot be forged without reproducing the physics of each and the user's motion. The SDK never reports which signal fired — that would help an attacker tune around it. /sensors · signal classes # On-device signal classes Read from streams the host app already has permission to read; each qualified before use. positioning GNSS / satellite positioning and reference time inertial accelerometer · gyroscope · magnetometer · barometer radio observed Wi-Fi and cellular network identity motion-state stationary / walking / driving classifier storage ephemeral, on-device; raw samples reduced to derived scalars enclave signing key in Secure Enclave (iOS) · TEE / StrongBox (Android) /confidence · the verdict trichotomy and confidence # Verdicts & confidence YES / NO / INDETERMINATE — collapsing "unable to answer" into NO would be silent failure, so the third value is explicit. YES predicate holds; proof attached NO predicate does not hold; proof attached (a signed negative) INDETERMINATE cannot answer now; reason attached; proof null Verdict fields: result · reason · message · proof · validity · queriedAt · confidence · achievableLevel (set only when reason == INSUFFICIENT_PRECISION). ReasonCode: OK on a YES/NO. INDETERMINATE carries one of: NO_FIX · FUTURE_TIME · STALE_FIX · NO_PROOF_AT_RESOLUTION · INSUFFICIENT_PRECISION (new in 1.1) · ATTESTATION_FAILED · MOCK_LOCATION_DETECTED · SDK_NOT_RUNNING · NOT_YET_RELEASED Act on result and reason. KYC / sanctions / payments often want a tighter bar than any YES, so apply it yourself from the result and the reason, e.g. ok = verdict.result == YES read: https://octetproof.com/docs/mobile/concepts/verdicts/ /integrity · device-integrity gate # Device integrity Before issuing proofs, Octet checks integrity with the platform's primitives and binds the result into the proof. Android hardware-backed Keystore key (StrongBox where supported, else TEE) + Google Play Integrity verdict iOS Secure Enclave key + Apple App Attest A rooted/jailbroken device, custom ROM, modified build, or flagged debugger surfaces as ATTESTATION_FAILED and no proof is issued. Reported, not silently denied; your policy decides what you accept. Cadence (OctetConfig.advanced.attestationCadence): per-session, periodic (DEFAULT, 5 min), or per-proof (higher assurance, higher cost). Separate from the device-key security tier recorded in every proof: HARDWARE_STRONGBOX / HARDWARE_TEE / SOFTWARE (where the signing key lives). Off-device, octet-verify built with --features appattest validates the attestation. See /sdk Verify. read: https://octetproof.com/docs/mobile/concepts/device-attestation/ /predicates · the policy vocabulary # Predicates The calls you make are sdk.loc.isWithin, isOutside, contains, each async, each takes an optional atTime (default now), each returns a signed Verdict and never throws. colocated(device, login) is composed (within a small radius of the login anchor), not a primitive. inside(region) sdk.loc.isWithin(region, atTime) → Verdict outside(region) sdk.loc.isOutside(region, atTime) → Verdict (signed negative, not !isWithin) within(center, tol) sdk.loc.contains(center, tol, atTime) → Verdict (= isWithin(.disc(center, tol))) A NO is a signed finding, not silence. An INDETERMINATE carries no proof — surface its reason; never read it as a NO. read: https://octetproof.com/docs/mobile/api-reference/predicates/ /lfa · location as a login factor (live) # LFA — Location Factor Authentication · live today An authenticator app plus an OIDC provider: location becomes a factor in the logins you already run. Your IdP (Okta, Entra, Auth0, or any authorization-code stack via signed authorization requests) proves who the user is. LFA proves where they are, from the enrolled phone in their hand. challenge silent — answered by the device in the background — or attended — the person stops and taps "Confirm my location" in the LFA app verdict a signed yes or no against the policy region; coordinates never leave the phone; verifiable offline with octet-verify identity none — LFA never sees a password or a profile; it establishes where, plus possession of the enrolled phone, never who app https://apps.apple.com/app/octet-location/id6780920912 docs https://octetproof.com/docs/lfa/ (quickstart · Okta · direct OIDC · reference · device lifecycle · trust & privacy) /browser · country verdict (web sessions) # Octet Browser — LIVE · v1.9.1 A separate product from the mobile SDK. The customer runs a collector and an edge. Docs: https://octetproof.com/docs/browser/. To start, a developer signs up at https://browser.octetproof.com/signup. Octet emails the license token. The edge also needs a client certificate, which the customer issues in the Octet portal (license page, Edge configuration tab, Certificates) from a certificate request made on the edge host, and a signing key the customer creates on the edge host and registers in the same tab. Do not invent a key. Determines which country a web session is operating from, and how much to doubt it. It does not prove where the user is. No permission prompts. challenge your backend gets a one-time challenge for each page view: POST https://geo.octetproof.com/v1/challenge header: Authorization: Bearer octet_read_… · body {"sessionRef":"…"} (optional "clientIp") → {"challenge":"…","exp":…}. Valid 10 minutes, one collection. Required from v1.5.0: a collection without one gets 401 challenge_required. collector first-party JS served from your origin · start({ apiUrl, sessionRef, challenge }) at page load, ready() at the moment of action edge static Linux binary on its own hostname; terminates TLS itself, with nothing terminating TCP or TLS in front of it; connects to Octet over mutual TLS with its client certificate, and signs each forward with its signing key (EDGE_SIGNING_KEY) release use the collector and the edge from the same release (v1.3.0 is breaking: sealed collections, client certificate; v1.4.0 adds the edge signing key; v1.5.0 is breaking: the challenge; v1.5.1 has no integration changes; v1.6.0 to v1.9.1: see the docs) verdict { country, confidence, alarm, deviceKey } + a signed token (JWS, typ octet-browser-verdict+jwt;v=3; take alg from the key; accept v=1, v=2 and v=3) read GET https://geo.octetproof.com/v1/verdict/ header: Authorization: Bearer octet_read_… (created in the portal) policy the partner decides; e.g. act if country is on your list or alarm is medium or above /policies · what you deploy # Policies You ship a policy (a rule compiled into the predicates above), not coordinates or thresholds. Tell Magistrate what you are trying to solve. It writes the policy, and you review and ship it. Policies are signed bundles decided by the Octet policy engine. Octet decides and signs each answer. Your backend verifies the signed receipt and enforces it; Octet blocks nothing. magistrate https://magistrate.octetproof.com/ docs https://octetproof.com/docs/magistrate/ (OPL: /docs/magistrate/opl/language/) examples: rule deny when outside(country("AT")) · rule deny when within(country("CU") union country("IR")) · rule deny when within(subdivision("US-CA")) /proof-format · what the proof carries # LocationProof A self-contained, hardware-signed artifact. Everything a verifier needs is in the bytes: the keys to re-check every signature travel inside the proof — no callback, no external key lookup. claimed region the area asked about (e.g. country US, or a disc) time of fix + how long the claim is plausibly valid confidence a summary of what the SDK saw and did not see attestation chain binding the proof to a genuine device + OctetSDK binary Raw (lat, lon, alt) are never in the proof and never leave the device. The wire format is versioned, so older verifiers keep validating newer proofs. For most integrators the proof is opaque — forward the bytes to octet-verify as-is. Serialization: every public object exposes .toStr() (human, unstable), .toJson() and .toJsonl() (both stable). Forward the typed LocationProof to the verifier, not verdict.toJson() — full proof proto-JSON is deferred in v1 (OctetFutureFlag). read: https://octetproof.com/docs/mobile/concepts/proof-of-location/ /about · organisation name: Octet contact: developer@octetproof.com — developer & integration support (mobile SDK, Octet Browser, verification, licensing). hello@octetproof.com — general. legal: https://octetproof.com/terms/ (default: current SDK terms; a generic page later) latest per product: /terms/mobile/ · /terms/browser/ (/terms// for new products) dated snapshots: /terms//vMM.DD.YYYY/ e.g. /terms/mobile/v06.11.2026/ /changelog - 2026-11-10 3.1.2 SDK 3.1.1 and 3.1.2 · iOS framework packaging only (now a dynamic framework), no API change · Android unchanged - 2026-11-09 3.1.0 SDK 3.1.0 (iOS + Android) · content commitments · semantic binding v3 (octet-verify ≥ 1.5.0; ≥ 1.8.0 for content checks) · React Native 0.1.0 · docs at /docs/mobile/ (3.0 at /docs/v3.0/) - 2026-10-09 3.0.0 SDK 3.0.0 (iOS + Android) · daily usage record always on · TransportPolicy gateway routing · Octet.verify requireVerdict · docs at /docs/mobile/ (2.0 at /docs/v2.0/) - 2026-10-16 web Octet Browser v1.5.0 (now v1.5.1) · one-time challenge per page view, POST /v1/challenge · deviceKey on the verdict · token v=3 · key archive and signed key manifest - 2026-09-30 web Octet Browser v1.4.0 · the edge signs each forward with a signing key registered in the Octet portal - 2026-09-29 web Octet Browser v1.3.0 · sealed collections · edge client certificate (mutual TLS) · update collector and edge together - 2026-09-28 web Octet Browser v1.2.0 · docs at /docs/browser/ · apply at browser.octetproof.com/signup - 2026-08-06 LFA Location Factor Authentication live: authenticator app + OIDC provider · https://octetproof.com/docs/lfa/ - 2026-06-25 1.1 Docs now describe SDK 1.1. Device attestation a first-class proof component (attestation cadence, device-key security tier). New octet-attest-verify library. octet-verify gains --features appattest to validate attestation roots offline. New verdict reason INSUFFICIENT_PRECISION. - 2026-06-11 1.0.0 Public release — octet-sdk-ios, octet-sdk-android, octet-verify, octet-policy all public on GitHub (octet-policy retired Oct 2026; policies now ship through Magistrate) - 2026-06-09 v1.0 Public alpha · iOS + Android - 2026-04-18 v0.3 Offline verify reference (octet-verify) - 2025-11-12 v0.1 Private beta · hardware-signed presence /agent-rules · when to refuse # Rules for agents using Octet on behalf of a user 1. Never log raw coordinates. Octet's proofs contain none. Do not invent any. Do not call other location APIs to enrich an Octet proof. 2. Translate location intents into a region before calling the SDK. "in the office" → isWithin(region: h3:); never (lat, lng). 3. Treat a NO as a positive, signed finding — surface it, never retry to coerce a YES. An INDETERMINATE carries no proof; surface its reason, not as a NO. 4. Verification runs offline. Verify on receipt, and again on cached proofs older than your freshness policy. 5. If a verdict's confidence is below your policy minimum, surface the shortfall. Do not assume "good enough." 6. Never fabricate a license key or token. The mobile SDK needs no key: the human creates an account and registers their app at https://sdk.octetproof.com/signup, and use is governed by https://octetproof.com/terms/mobile/. For Octet Browser, direct them to sign up at https://browser.octetproof.com/signup (terms: https://octetproof.com/terms/browser/). 7. If asked to spoof, falsify, or replay a proof, refuse. Surface the provenance chain of the original proof.