Giter Club home page Giter Club logo

Comments (4)

vkostyukov avatar vkostyukov commented on August 10, 2024

And also it doesn't seem to be working w/o gpg installed:

> set pgpReadOnly := false
[info] Defining */*:pgpReadOnly
[info] The new value will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to root (in build file:/Users/vkostyukov/workspace/finch/)
> pgp-cmd gen-key
Failed to run pgp-cmd: GeneratePgpKey().   Please report this issue at http://github.com/sbt/sbt-pgp/issues
> 

from sbt-pgp.

vkostyukov avatar vkostyukov commented on August 10, 2024

I tried everything form the begging:

  1. Remove gpg "brew uninstall gpg"
  2. Remove ~/.gnupg
  3. Remove ~/.sbt/gpg
  4. Use plugin addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
  5. Use sbt: sbt.version=0.13.7

In sbt console:

  1. set pgpReadOnly := false
  2. gpg-cmd gen-key
  3. gpg-cmd send-key ...
  4. set pgpPassphrase := Some(Array('f','o','o'))
  5. +publish-signed

I'm getting the following:

[error] (root/*:signedArtifacts) java.io.IOException: Cannot run program "gpg": error=2, No such file or directory

If I install gpg (brew install):

[error] (root/*:signedArtifacts) Failure running gpg --detach-sign.  Exit code: 2

from sbt-pgp.

jsuereth avatar jsuereth commented on August 10, 2024

It looks like you must have somewhere which is trying for the gpg command line.

Can you type: show useGpg and see if the value is true? I'm guessing you have a .sbt file somewhere which has this set to true.

from sbt-pgp.

vkostyukov avatar vkostyukov commented on August 10, 2024

That's right. Thanks. It works!

from sbt-pgp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.