Comments (4)
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.
I tried everything form the begging:
- Remove
gpg
"brew uninstall gpg" - Remove
~/.gnupg
- Remove
~/.sbt/gpg
- Use plugin
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
- Use sbt:
sbt.version=0.13.7
In sbt
console:
set pgpReadOnly := false
gpg-cmd gen-key
gpg-cmd send-key ...
set pgpPassphrase := Some(Array('f','o','o'))
+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.
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.
That's right. Thanks. It works!
from sbt-pgp.
Related Issues (20)
- Website does not show recent versions HOT 1
- sbt +release fails with GPG error HOT 6
- checkPgpSignatures: java.lang.IllegalArgumentException: Cannot add artifact HOT 3
- Publishing fails with invalid packet error HOT 2
- publishSigned fails after upgrade to 2.0.0-M2 HOT 4
- Signing with gpg must be done serially to avoid gpg-agent running out of memory HOT 8
- SBT_PGP_USE_GPG is a system property, not an environment variable
- pgpSigningKey can't be found using credentials method
- support GPG 2.1 and above HOT 4
- Setting custom GPG key results in a misleading error-level log entries HOT 2
- Not support a GPG key without passphrase?
- Missleading error "gpg-agent is not available" HOT 2
- When PGP_PASSPHRASE environment variable is set we should also set --pinentry-mode = loopback HOT 7
- No route to host HOT 3
- Server redirected too many times HOT 6
- ThisBuild / pomIncludeRepository
- "gpg: invalid option "--pinentry-mode"" when gpg is 2.0 HOT 1
- How to switch to a different keyserver? HOT 3
- gpg: signing failed: File exists HOT 7
- fail if the specified key does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-pgp.