upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
2025-10-17chore: nix flake updateDanConwayDev
update nix dependancies including hardcoded nightly.rustfmt applied autofixes
2025-07-16chore: bump nightly rustfmtDanConwayDev
to latest available and apply fmt fixes
2025-02-20refactor: run nixfmtDanConwayDev
format the nix code with nixfmt
2025-02-11build: disable tests during nix buildDanConwayDev
as some tests hang during `nix run github:danconwaydev/ngit-cli`
2024-12-16chore: bump nix flake rust nightly `fmt` overlayDanConwayDev
update the rust nightly `fmt` overlay which needs to be pinned to a specific version (this case by date) update formatting in main files via `cargo fmt`
2024-09-18chore: bump rustfmt from nightlyDanConwayDev
from april version to current
2024-09-11build: add nix build derivation for tarballDanConwayDev
so a tarball can be created per system for issuing releases
2024-09-11build: remove PKG_CONFIG_PATH env varDanConwayDev
as this is not needed. it was originally added as part of diagnosing openssl availablity
2024-09-11build: fix nix binary references and build toolsDanConwayDev
both binaries should be within the same package. `pkg-config` and `openssl` need to be in both `nativeBuildInputs` and `buildInputs` and dev shell `buildInputs` otherwise the build will fail. PKG_CONFIG_PATH ev also needs to be set.
2024-09-10build: fix dependancy package errorsDanConwayDev
which were preventing the build process from running
2024-09-09build: use nix to build binariesDanConwayDev
using rustPlatform.buildRustPackage as used in nixpkgs
2024-04-19build: fix lint warningDanConwayDev
remove unused binding
2024-04-09chore: update rust nightly in nixDanConwayDev
whilst fmt is using nightly it doesnt appear that clippy is previous attempts to update the rustfmt nightly version have resulted in a large number of errors which needed resolving. the change was backed out because of other priorities. It appears now that clippy is not using the nightly version and there are no regressions
2023-12-06build(deps) update nixDanConwayDev
- update nix flake - bump hard coded reference to rustfmt nightly version - fix warning that latest version of rustfmt produced
2023-10-06fixup! refactor: rebuild app skeletonDanConwayDev
2023-09-01feat(login) password login using encrypted nsecDanConwayDev
Enables the user to only handle the nsec upon first use of the tool by encrypting it with a password and storing it on disk in an application cache. The approach to encryption draws heavily from that used by the gossip nostr client. - unencrypted nsec is zeroed from memory - a salt is used to defend against rainbow tables - computationally expensive key stretching defends against brute-force attacks of passwords with low entropy. There is UX trade-off between decryption speed and key-stretching computation. This UX challenge is exacerbated in a cli tool as decryption must take place more regularly. Thought was put into the selected n_log and a heavily reduced value is provided for long passwords where security benefits are smaller. A more granular reducing in computation was also considered by rejected to avoided to revealing just how weak a password is as most weak passwords are reused.
2023-09-13refactor: rebuild app skeletonDanConwayDev
Create skeleton for a complete rebuild of the prototype as a production ready product. Includes design patterns for: - dependency injection - unit testing with dependency mocking - integration testing - error handling - config storage BREAKING-CHANGE: ground-up redesign with incompatible protocol standards