diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Gopass.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Gopass.kt index 4c5c418..3ba0783 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Gopass.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Gopass.kt @@ -11,7 +11,7 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.web.base.downloadFrom fun Prov.installGopass( - version: String = "1.15.13", // when adjusting pls also adjust checksum below + version: String = "1.15.13", // NOTE: when adjusting, pls also adjust checksum below and version of gopass bridge json api enforceVersion: Boolean = false, // from https://github.com/gopasspw/gopass/releases/tag/v1.15.13 sha256sum: String = "409ed5617e64fa2c781d5e2807ba7fcd65bc383a4e110f410f90b590e51aec55" diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt index 00d1d68..25cb60c 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt @@ -22,10 +22,10 @@ fun Prov.downloadGopassBridge() = task { } fun Prov.installGopassJsonApi() = taskWithResult { - // see https://github.com/gopasspw/gopass-jsonapi - val sha256sum = "ec9976e39a468428ae2eb1e2e0b9ceccba7f60d66b8097e2425b0c07f4fed108" - val gopassJsonApiVersion = "1.15.5" - val requiredGopassVersion = "1.15.5" + // from https://github.com/gopasspw/gopass-jsonapi/releases/tag/v1.15.13 + val sha256sum = "3162ab558301645024325ce2e419c1d67900e1faf95dc1774a36f1ebfc76389f" + val gopassJsonApiVersion = "1.15.13" + val requiredGopassVersion = "1.15.13" val filename = "gopass-jsonapi_${gopassJsonApiVersion}_linux_amd64.deb" val downloadUrl = "-L https://github.com/gopasspw/gopass-jsonapi/releases/download/v$gopassJsonApiVersion/$filename" val downloadDir = "${userHome()}Downloads"