[jira] [Created] (HBASE-18585) Update release instructions involving gpg-agent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (HBASE-18585) Update release instructions involving gpg-agent

JIRA jira@apache.org
Nick Dimiduk created HBASE-18585:
------------------------------------

             Summary: Update release instructions involving gpg-agent
                 Key: HBASE-18585
                 URL: https://issues.apache.org/jira/browse/HBASE-18585
             Project: HBase
          Issue Type: Task
          Components: build, documentation
            Reporter: Nick Dimiduk
            Priority: Minor


Could be what I ran into is hyper-local, but making a note here none the less. For the build of 1.1.12RC0, I stumbled into MGPG-59. Presumably this is because of an graded version of {{gpg-agent}}. The release build takes some time, such that even if you purse the advice of invoking gpg before starting the build, the default config expires before the build finished on my machine. I haven't tested this out yet, but a solution appears to look something like

# configure {{gpg-agent}} with a longer value for {{default-cache-ttl}} in {{$HOME/.gnupg/gpg-agent.conf}}.
# invoke {{gpg}} such that the agent will cache the passphrase. MGPG-59 suggests signing some random file.
# run {{./dev-support/make_release.sh}} as normal.

My context:

{noformat}
diocles:~ ndimiduk$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.11.6
BuildVersion:   15G1611
diocles:~ ndimiduk$ gpg-agent --version
gpg-agent (GnuPG) 2.1.23
libgcrypt 1.8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...