Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Formula/paranoid-passwd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
# This file was generated by paranoid-passwd's release pipeline.
# DO NOT EDIT.
class ParanoidPasswd < Formula
desc "Self-auditing cryptographic password generator"
desc "Local-first password manager and generator with CLI and TUI"
homepage "https://github.com/jbcom/paranoid-passwd"
version "3.5.2"
license "MIT"
version "3.6.5"
license "GPL-3.0-only"

on_macos do
if Hardware::CPU.arm?
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-darwin-arm64.tar.gz"
sha256 "f8bc20254a54f3a4fe8f6bd3da9861b0224d8072c240190ee7f84ea601f20e49"
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-darwin-arm64.tar.gz"
sha256 "6d31f82ef205a6a59be1003768bbcf73953c1a63406282416538ea4da017a522"
end
if Hardware::CPU.intel?
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-darwin-amd64.tar.gz"
sha256 "8ef778a014ada299da429e0c3415d40138b8c7cecec89836606eb398ba6f75a5"
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-darwin-amd64.tar.gz"
sha256 "97e18ccf54d3d7fa645e3942181bdea1de2d5911c9c63bdd9d29aaab96121498"
end
Comment on lines 13 to 20
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and to align with modern Homebrew formula conventions, consider using on_arm and on_intel blocks instead of separate if statements for each architecture.

    on_arm do
      url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-darwin-arm64.tar.gz"
      sha256 "6d31f82ef205a6a59be1003768bbcf73953c1a63406282416538ea4da017a522"
    end
    on_intel do
      url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-darwin-amd64.tar.gz"
      sha256 "97e18ccf54d3d7fa645e3942181bdea1de2d5911c9c63bdd9d29aaab96121498"
    end

end

on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-linux-arm64.tar.gz"
sha256 "dbc575fc87e204c5616b2405fd12430ce394f6349fad34927de0b7488b12c258"
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-linux-arm64.tar.gz"
sha256 "dca563f1c336e2613fe0f65d073e856dbf7d748a312a421f4bc192d6f84b9ea4"
end
if Hardware::CPU.intel?
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-linux-amd64.tar.gz"
sha256 "78d5602411614d2cfc81eeb8c9472ae3424f2caefa2461457d8d8e15ffc5b876"
url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-linux-amd64.tar.gz"
sha256 "cd232e5d4076ae67a575ce7c777abf2733abc477f7642e66894740f246d84cd9"
end
Comment on lines 24 to 31
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the on_macos block, you can use on_arm and on_intel blocks here for consistency and to follow modern Homebrew formula conventions. This improves readability.

    on_arm do
      url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-linux-arm64.tar.gz"
      sha256 "dca563f1c336e2613fe0f65d073e856dbf7d748a312a421f4bc192d6f84b9ea4"
    end
    on_intel do
      url "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-linux-amd64.tar.gz"
      sha256 "cd232e5d4076ae67a575ce7c777abf2733abc477f7642e66894740f246d84cd9"
    end

end

Expand Down
14 changes: 7 additions & 7 deletions bucket/paranoid-passwd.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "3.5.2",
"description": "Self-auditing cryptographic password generator",
"version": "3.6.5",
"description": "Local-first password manager and generator with CLI and TUI",
"homepage": "https://github.com/jbcom/paranoid-passwd",
"license": "MIT",
"url": "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-windows-amd64.zip",
"hash": "44940bd8a88801e07b21dfa30588ea36937e45fc40bf6c48c5271e84784c54a7",
"license": "GPL-3.0-only",
"url": "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-windows-amd64.zip",
"hash": "a585b2660d0e09b9edb4a8de27a3021b663b49e9e0717b90f56996d9df3b4d0d",
Comment on lines +5 to +7
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The top-level url and hash fields are redundant because they are already specified within the architecture block. According to Scoop's documentation, when the architecture block is used, the top-level fields are used as a fallback for systems that don't match any architecture. Since only a 64-bit version is provided, these fields can be removed to make the manifest cleaner.

  "license": "GPL-3.0-only"

"bin": "paranoid-passwd.exe",
"architecture": {
"64bit": {
"url": "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-windows-amd64.zip",
"hash": "44940bd8a88801e07b21dfa30588ea36937e45fc40bf6c48c5271e84784c54a7"
"url": "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-windows-amd64.zip",
"hash": "a585b2660d0e09b9edb4a8de27a3021b663b49e9e0717b90f56996d9df3b4d0d"
}
},
"checkver": {
Expand Down
18 changes: 9 additions & 9 deletions choco/paranoid-passwd/paranoid-passwd.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>paranoid-passwd</id>
<version>3.5.2</version>
<title>Paranoid Password Generator</title>
<version>3.6.5</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It's a good practice to explicitly declare the license in the .nuspec file. Since the license has been updated to GPL-3.0-only, please add the <license> tag.

    <version>3.6.5</version>
    <license type="expression">GPL-3.0-only</license>

<title>Paranoid Passwd</title>
<authors>Jon B</authors>
<owners>jbcom</owners>
<projectUrl>https://github.com/jbcom/paranoid-passwd</projectUrl>
Expand All @@ -13,15 +13,15 @@
<docsUrl>https://github.com/jbcom/paranoid-passwd#readme</docsUrl>
<bugTrackerUrl>https://github.com/jbcom/paranoid-passwd/issues</bugTrackerUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Self-auditing cryptographic password generator</summary>
<summary>Local-first password manager and generator with CLI and TUI</summary>
<description>
Paranoid-passwd generates passwords using a C+WASM core that audits
itself on every run: chi-squared uniformity, serial correlation,
collision detection, entropy proof, NIST compliance, and weak-pattern
detection — all before emitting output.
Paranoid Passwd keeps secrets local while making trust verifiable. It
ships a Rust-native password generator, encrypted local vault, terminal
TUI, scriptable CLI, and release artifacts with checksums and
attestations.
</description>
<tags>password security cli crypto paranoid</tags>
<releaseNotes>https://github.com/jbcom/paranoid-passwd/releases/tag/paranoid-passwd-v3.5.2</releaseNotes>
<tags>password security cli tui rust paranoid</tags>
<releaseNotes>https://github.com/jbcom/paranoid-passwd/releases/tag/paranoid-passwd-v3.6.5</releaseNotes>
</metadata>
<files>
<file src="tools/**" target="tools" />
Expand Down
10 changes: 5 additions & 5 deletions choco/paranoid-passwd/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
VERIFICATION

paranoid-passwd 3.5.2 for Windows amd64 ships as a ZIP archive at:
https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-windows-amd64.zip
paranoid-passwd 3.6.5 for Windows amd64 ships as a ZIP archive at:
https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-windows-amd64.zip

Checksum (SHA-256): 44940bd8a88801e07b21dfa30588ea36937e45fc40bf6c48c5271e84784c54a7
Checksum (SHA-256): a585b2660d0e09b9edb4a8de27a3021b663b49e9e0717b90f56996d9df3b4d0d

Verify locally on Windows:

Get-FileHash paranoid-passwd-3.5.2-windows-amd64.zip -Algorithm SHA256
Get-FileHash paranoid-passwd-3.6.5-windows-amd64.zip -Algorithm SHA256

Also verify sigstore build provenance:

gh attestation verify paranoid-passwd-3.5.2-windows-amd64.zip --owner jbcom
gh attestation verify paranoid-passwd-3.6.5-windows-amd64.zip --owner jbcom

Source: https://github.com/jbcom/paranoid-passwd
4 changes: 2 additions & 2 deletions choco/paranoid-passwd/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$ErrorActionPreference = 'Stop'
$packageName = 'paranoid-passwd'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64 = 'https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.5.2/paranoid-passwd-3.5.2-windows-amd64.zip'
$checksum64 = '44940bd8a88801e07b21dfa30588ea36937e45fc40bf6c48c5271e84784c54a7'
$url64 = 'https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v3.6.5/paranoid-passwd-3.6.5-windows-amd64.zip'
$checksum64 = 'a585b2660d0e09b9edb4a8de27a3021b663b49e9e0717b90f56996d9df3b4d0d'
Comment on lines +4 to +5
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability and reduce the chance of errors in future updates, consider defining the version number in a variable and using it to construct the URL. This avoids repeating the version string.

$version      = '3.6.5'
$url64        = "https://github.com/jbcom/paranoid-passwd/releases/download/paranoid-passwd-v$($version)/paranoid-passwd-$($version)-windows-amd64.zip"
$checksum64   = 'a585b2660d0e09b9edb4a8de27a3021b663b49e9e0717b90f56996d9df3b4d0d'


$packageArgs = @{
packageName = $packageName
Expand Down
Loading