typelevel / typelevel/sbt-typelevel

`publishLocal` attempts to sign artifacts

Open
#271 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Reported by @milessabin:

One minor annoyance is that publishLocal seems to insist on signing.
As in it prompts me for my key passphrase at least once per SBT reload.

AFAIK publishLocal doesn't require signing to succeed, but it will attempt to sign if a PGP key is configured, hence the annoyance with the passphrase in this instance.

Ideally, publishLocal shouldn't try to sign anything at all.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the publishLocal task and how configured PGP signing is applied. Confirm the change by running publishLocal with a PGP key configured and verifying that it completes without attempting to sign or prompting for a passphrase.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.