Projects
jsj
infnoise
infnoise.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File infnoise.spec of Package infnoise
# # spec file for package infnoise # # Copyright (c) 2026 Stefan Botter <osc@botter.cc> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: infnoise Version: 0.3.3 Release: 0 Summary: Infinite Noise TRNG (True Random Number Generator) # FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses License: CC0-1.0 URL: https://github.com/leetronics/infnoise Source: https://github.com/leetronics/infnoise/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch1: infnoise-Makefile-version.patch BuildRequires: glibc-devel BuildRequires: libftdi1-devel %description The Infinite Noise TRNG is a USB key hardware true random number generator. It uses what I call a "Modular Entropy Multiplier" architecture (previously Infinite Noise Multiplier or FireBug). Besides being simple, low-cost, and fast, it is much easier to get right than other TRNGs. It naturally defends against influence from outside signals, such as radio interference and power supply noise, making it simple to build securely, without requiring an expert in analog design. Modular entropy multipliers produce a provable and easily measured level of entropy based on thermal noise, approximately equal to log2(K) per output bit, where K is a gain between 1 and 2 set by two resistors around an op-amp. A "health monitor" can track this and verify that the output entropy is within the expected range, which for the Infinite Noise TRNG described below is within 2% of log2(1.82). %package -n libinfnoise Summary: Infinite Noise TRNG (True Random Number Generator) libraries %description -n libinfnoise The Infinite Noise TRNG is a USB key hardware true random number generator. %package -n libinfnoise-devel Summary: Infinite Noise TRNG (True Random Number Generator) devel files Buildarch: noarch %description -n libinfnoise-devel The Infinite Noise TRNG is a USB key hardware true random number generator. %prep %autosetup -p1 %build GIT_VERSION=%{version} LIBDIR=%{_libdir} %make_build -C software -f Makefile.linux %install LIBDIR=%{_libdir} %make_install -C software -f Makefile.linux install install-lib %check %pre %service_add_pre %{name}.service %post %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %license LICENSE %doc CHANGELOG.md README.md /%{_sbindir}/%{name} /%{_unitdir}/%{name}.service /%{_udevrulesdir}/75-%{name}.rules %files -n libinfnoise /%{_libdir}/libinfnoise.so %files -n libinfnoise-devel /%{_includedir}/libinfnoise.h %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.