SShortSingh.
0
ProgrammingDEV Community ·

How a Single Licensing Control Plane Can Serve Mac, Desktop, and CLI Apps

Developers shipping the same product across multiple platforms — such as a native Mac app, an Electron or Tauri desktop build, and a Rust CLI — often struggle with managing separate licensing systems for each. A single control plane approach solves this by centralizing all customer records, license keys, activation limits, and entitlements under one tenant account. Platform-specific SDKs act only as clients, each exchanging a license key for a shared Ed25519-signed lease that is verified locally without holding any authority over license validity. Because all SDKs read the same signed document format, license states and entitlement checks remain consistent across Swift, JavaScript, and Rust. This architecture means a customer who purchases once exists as a single record, and device limits apply globally across platforms rather than per app.

0
ProgrammingDEV Community ·

Keylight Crate Enables Offline License Validation in Rust Apps

Keylight is a Rust crate that allows desktop and CLI applications to validate software licenses without an internet connection. It uses Ed25519-signed JSON documents called leases, which apps verify locally using a bundled public key — requiring no server call at startup. The system separates two distinct tasks: offline verification of license authenticity and periodic background revalidation to detect server-side changes like refunds or revocations. At launch, the app checks a cached lease instantly; network calls only occur when a scheduled revalidation is due. The synchronous crate uses blocking HTTP via ureq, requires no async runtime, and exposes a standalone verify_lease function for flexible use in custom gating logic or CLI tools.

0
ProgrammingDEV Community ·

Tauri vs Electron: Where to Place License Checks in Desktop Apps

Developers building paid desktop apps face a key architectural choice between Tauri and Electron, two popular frameworks with distinct approaches to rendering and core logic. Electron bundles a full Chromium browser and uses Node.js, making it consistent across platforms but resulting in large app sizes, while Tauri relies on the OS's native webview and a compiled Rust core, producing much smaller binaries. Both frameworks support software licensing, but experts warn that license verification must never be placed in the renderer layer, where users can inspect it via DevTools. In Tauri, license checks should run in the Rust core and expose only boolean results to the frontend, while in Electron the equivalent secure location is the Node.js main process. The choice between the two ultimately depends on app requirements, as Tauri offers a lighter footprint and Electron provides greater ecosystem maturity and rendering consistency.

0
ProgrammingDEV Community ·

How Device Activation Limits Can Curb License Key Sharing Without Hurting Customers

Software developers often struggle with license key sharing, where a single paid key circulates publicly and is used by many unauthorized users. The most effective technical countermeasure is a device activation limit, which restricts each key to a set number of registered machines identified by hashed hardware fingerprints. Most anti-sharing systems fail by treating ambiguous events — such as OS reinstalls or hardware replacements — as fraud and blocking legitimate customers. Experts recommend setting generous device limits of three to five for personal licenses and allowing the app to keep running if a license server is temporarily unreachable. Self-service deactivation is also essential, so customers can free up slots when they replace old hardware rather than being permanently locked out.

0
ProgrammingDEV Community ·

Keylight Uses Ed25519 Signatures to Verify Software Licenses Offline Without Server Calls

Keylight is a software licensing platform that validates license keys locally using Ed25519 cryptographic signatures, eliminating the need for network requests to a server. Each license is a self-describing signed document containing customer details, product ID, feature entitlements, activation limits, and expiry information. The app ships with a public key embedded in its binary, allowing it to verify the signature and confirm the license was issued by Keylight's private key without any database lookup. Because validity is proven mathematically rather than through a server check, licenses remain enforceable offline and during network outages. Activation limits are still enforced server-side when a device registers, but all other entitlement checks happen locally via the verified lease document.

0
ProgrammingDEV Community ·

How Cryptographic Signatures Replaced Checksum Keys in Desktop App Licensing

License keys for desktop apps have evolved significantly over the past two decades, moving away from simple arithmetic-based checksum strings that could be reverse-engineered or shared. Modern license keys use cryptographic signatures, typically Ed25519, where a private server key signs each key and the app verifies it using an embedded public key. This structure embeds entitlement data — such as user identity, plan, device limits, and expiry — directly into the key, making any tampering detectable. Because verification is a local computation using the embedded public key, the app does not need an internet connection to validate a license, which is critical for desktop software. The one limitation of this offline approach is revocation, as a locally verified key cannot be invalidated without some form of server check.

0
ProgrammingDEV Community ·

Developer Argues for 'Principle of Least AI': Use Simpler Tools First

A post by ingosteinke on DEV.to advocates for the 'Principle of Least AI,' urging developers to reach for the simplest tool adequate for a task before turning to AI. The argument draws on the established 'principle of least power,' applying it to everyday cognitive choices like searching, reading files, or running commands. The author candidly acknowledges a personal contradiction, admitting he uses AI nearly daily despite writing extensively about the downsides of over-reliance on it. A key practical takeaway from the piece is to pause before any AI interaction and ask what the simpler alternative would be. The broader concern is not just about hallucinations or cost, but about the habitual offloading of cognitive tasks to systems that cannot be fully verified.

0
IndiaNDTV ·

Small Aircraft Crashes Into Beijing's Tallest Skyscraper, Causing Structural Damage

A small plane collided with Beijing's tallest building, causing visible damage to a section of the structure. Debris was reported falling from the sky following the impact. Footage and images circulating online showed damage to part of the building's exterior. The wreckage included what appeared to be a tail section of the aircraft on the ground, along with a shattered cab window nearby. The cause of the crash and details on casualties have not yet been confirmed.

0
IndiaNDTV ·

Shashi Tharoor Proposes Practical Fix to India's Passport Controversy

Politician and author Shashi Tharoor has weighed in on the ongoing debate surrounding Indian passport rules in an opinion piece published by NDTV. He argues that a disconnect exists between the legal framework governing passports and the everyday realities citizens face. Tharoor describes the current controversy as a manufactured crisis rather than an inherent systemic flaw. He suggests that a straightforward, common-sense solution could effectively bridge this gap and resolve the dispute.

0
ProgrammingDEV Community ·

Developer Releases Angular 21 Micro Frontend Starter Kit, Seeks Honest Feedback

A developer with years of experience building enterprise Angular Micro Frontend projects for clients in the Gulf region has created a starter kit aimed at reducing repetitive setup work. The tool targets a common pain point where new projects required weeks of boilerplate configuration before any real business logic could be written. The Angular 21 MFE Starter Kit is now available for purchase on Gumroad. The creator is offering three free copies in exchange for honest feedback from users. The kit is intended to help developers skip lengthy initial setup and move faster into building core application features.

0
ProgrammingHacker News ·

DeepSeek releases open-source inference optimizations delivering up to 85% speed gains

Chinese AI lab DeepSeek has open-sourced a set of inference optimizations under a project detailed in a newly published technical paper. The improvements reportedly enable generation speeds that are 60 to 85 percent faster compared to baseline performance. The release is part of DeepSeek's broader pattern of sharing research and tooling with the open-source community. The optimizations are aimed at making large language model inference more efficient, which has practical implications for deployment costs and latency.

0
IndiaTimes of India ·

Ex-Google Engineer, 23, Leaves Tech Giant to Launch AI Marketplace Startup

Aashna Doshi, a 23-year-old engineer, resigned from Google to found her AI startup called Bounty. Her entrepreneurial journey was catalysed by hosting a tech podcast titled '0 to 1,' which garnered 100,000 views on YouTube. The podcast helped Doshi build connections with prominent industry leaders, fuelling her ambition to start her own venture. Bounty operates as an outcome-based AI marketplace, positioning itself as a distinctive player in the AI space. Doshi's decision marks a significant shift from corporate stability toward building a potentially high-impact startup.

0
IndiaTimes of India ·

NCERT clarifies Preamble stays in Class 9 textbooks amid removal claims

NCERT has denied reports that the Preamble was removed from its Class 9 Social Science textbooks, stating it remains part of the curriculum. The clarification comes amid a broader curriculum redesign aligned with the National Curriculum Framework, under which certain topics have been redistributed across grade levels. Constitutional values are now introduced at an earlier stage, with more detailed coverage planned for Grade 10. The revised textbook also introduces a new chapter covering the 1975–77 Emergency period in India.

0
IndiaTimes of India ·

Neeraj Chopra confirmed for Asian Games 2026 in Aichi-Nagoya

Two-time Olympic medallist Neeraj Chopra will represent India at the 2026 Asian Games, the Athletics Federation of India (AFI) has confirmed. The games are scheduled to be held in Aichi-Nagoya from September 19 to October 4. This announcement follows Chopra's earlier confirmation of his participation in the Commonwealth Games. The AFI's statement makes clear that Chopra will be a central part of India's athletics campaign at both major multi-sport events.

0
ProgrammingHacker News ·

Beer CSS offers a fast way to build Material Design interfaces

Beer CSS is a CSS framework designed to help developers implement Material Design quickly and efficiently. It aims to reduce the time and effort typically required to build Material Design-compliant user interfaces. The framework is available at beercss.com and has been shared on Hacker News. It appears to be an early-stage or niche project, currently drawing limited community discussion. The tool targets front-end developers looking for a streamlined Material Design workflow.

0
IndiaTimes of India ·

India Home Sales Rise 19%, New Supply Up 43% Across 9 Major Cities in Q2

India's residential real estate market posted strong growth in the April-June quarter, with housing sales rising 19% to over 1.12 lakh units across nine major cities. New housing supply saw an even sharper jump of 43% during the same period. Bengaluru led the pack in sales performance, while southern cities and Mumbai also recorded healthy demand. Analysts attribute the sector's resilience to strong economic fundamentals and sustained consumer confidence. The growth comes despite ongoing global uncertainties that have weighed on other sectors of the economy.

← NewerPage 154 of 183Older →