Title: Kalavati Aai Nityopasana PDF Verification Target Product: Web‑based devotional library / Mobile app for spiritual texts 1. Purpose & Vision Many devotees search for the authentic Kalavati Aai Nityopasana (the daily worship guide of the goddess Kalavati) in PDF form. Unofficial uploads, altered texts, and low‑quality scans cause confusion and dilute the sanctity of the material. This feature will enable users to quickly verify that a PDF they have (or are about to download) is the official, unmodified version approved by the custodians of the text. Goal: Increase trust, reduce misinformation, and improve the overall user experience for seekers of authentic devotional literature. 2. User Stories | # | As a … | I want … | So that … | |---|--------|----------|-----------| | 1 | Devotee | to upload a PDF of Kalavati Aai Nityopasana and get an instant verification result | I know whether the file is genuine before I read or share it | | 2 | Researcher/Scholar | to view a digital certificate for the official PDF | I can cite the exact version in my work | | 3 | App Administrator | to manage the master hash/signature for the official PDF | All verification checks use the authoritative reference | | 4 | Visitor | to scan a QR‑code on a printed copy and be redirected to the verified PDF | I can instantly compare my hard‑copy with the official version | | 5 | Content Curator | to receive an alert when a newly‑uploaded PDF fails verification | I can investigate potential piracy or tampering | | 6 | Accessibility Advocate | to get a text‑only verification report (JSON/CSV) | I can integrate the result into assistive‑technology workflows | 3. Functional Requirements | ID | Description | |----|-------------| | F1 | Master Reference Store – A secure, version‑controlled repository that holds the canonical PDF file, its SHA‑256 hash, and an X.509 digital signature issued by the Kalavati Trust. | | F2 | Upload/Submit Interface – Users can drag‑and‑drop or select a local PDF; the UI shows upload progress and size limits (max 10 MB). | | F3 | Hash Calculation – Immediately compute a SHA‑256 digest of the uploaded file client‑side (Web Crypto API) and send the digest (not the full file) to the verification service. | | F4 | Verification Service – Backend endpoint /api/v1/verify/kalavati-nityopasana that receives the hash, compares it against the stored master hash, and returns: • status: "verified" / status: "unverified" • signatureValid: true/false • timestamp • referenceVersion (e.g., v2024.09 ) | | F5 | Digital Signature Check – The master PDF is signed with the Trust’s private key. The service verifies the signature using the public key and includes the result in the response. | | F6 | Result Presentation – UI shows a clear green check‑mark with “Verified – Official version (v2024.09)” or a red cross with “Unverified – Does not match official file”. | | F7 | Certificate Download – For verified PDFs, allow the user to download a short PDF Certificate of Authenticity (includes hash, signature, timestamp, and a QR‑code linking back to the official download page). | | F8 | QR‑Code Generator – For the official PDF, generate a static QR‑code that encodes a URL to the verification endpoint (e.g., https://app.example.com/verify?hash=<hash> ). Printed copies can use this for quick on‑the‑spot verification. | | F9 | Audit Log – Every verification request (hash, IP (hashed), timestamp, result) is stored for compliance and analytics. | | F10 | Rate Limiting & Abuse Protection – Limit to 30 verification checks per IP per hour; CAPTCHAs for suspicious activity. | | F11 | Internationalisation – UI messages available in English, Marathi, Hindi, and Gujarati (primary languages of the target community). | | F12 | Accessibility – All UI components follow WCAG 2.1 AA (ARIA labels, keyboard navigation, high‑contrast mode). | | F13 | Offline Verification (Optional) – Provide a downloadable client‑side verifier (HTML/JS bundle) that users can run locally without internet, using the public key and the master hash bundled inside the app. | 4. Non‑Functional Requirements | Category | Requirement | |----------|-------------| | Performance | Verification response ≤ 300 ms for 99 % of requests (hash compare is O(1)). | | Scalability | Backend stateless; can be horizontally scaled behind a load balancer. | | Security | • Store the master hash & public key in an HSM or secrets manager.• All traffic TLS 1.3.• No PDF content is ever stored on the server (only the hash). | | Reliability | 99.9 % uptime SLA for the verification endpoint. | | Maintainability | Separate modules: Hash Service , Signature Service , Audit Service . Unit‑tested (≥ 90 % coverage). | | Compliance | GDPR‑compatible: IP addresses are hashed before logging; users can request deletion of their audit entries. | | Legal | The official PDF is distributed under a Creative Commons Attribution‑NonCommercial‑NoDerivatives (CC‑BY‑NC‑ND) license. Verification feature respects the license (no redistribution of the PDF itself). | 5. User Flow Diagram +-----------------+ +----------------------+ +-------------------+ | 1. User opens | | 2. User selects / | | 3. Client computes | | verification | ----> | drags PDF file | ----> | SHA‑256 hash | +-----------------+ +----------------------+ +-------------------+ | v +-------------------+ | 4. Send hash to | | /api/v1/verify | +-------------------+ | v +-------------------+ | 5. Backend compares| | hash with master| | signature check | +-------------------+ | v +-------------------+ | 6. Return JSON | | status,… | +-------------------+ | v +-------------------+ | 7. UI displays | | verified / | | unverified badge| +-------------------+ 6. API Specification | Method | Endpoint | Request | Response | |--------|----------|---------|----------| | POST | /api/v1/verify/kalavati-nityopasana | json "hash": "<hex‑string>" | json "status": "verified" \ | | GET | /api/v1/official/kalavati-nityopasana | – | Streams the official PDF (with proper Content‑Disposition ). | The Nuker 3 Midi Download Verified 🔥
+----------------------------------------------------------+ | 📄 Verify Your Kalavati Aai Nityopasana PDF | |----------------------------------------------------------| | Drag & drop your PDF here or click to browse… | | [Browse] | | | | ⬇️ Max file size: 10 MB | | | | ------------------------------------------------------ | | ⬤ (Progress bar while hashing) | | | | [ Verify ] [ Reset ] | +----------------------------------------------------------+ Usnet - Av4
Headers: Content-Type: application/json , Accept: application/json . Error codes: 400 Bad Request (missing/invalid hash), 429 Too Many Requests , 500 Internal Server Error . Upload Panel
Result (after verification): +----------------------------------------------------------+ | ✅ VERIFIED – Official version v2024.09 | | SHA‑256: 3A1F…B9C2 | | Signature: VALID | | [Download Certificate] [View Official PDF] | +----------------------------------------------------------+