Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created February 7, 2016 06:02
Show Gist options
  • Save kaosf/53bf32a6b7cd4b8afd67 to your computer and use it in GitHub Desktop.
Save kaosf/53bf32a6b7cd4b8afd67 to your computer and use it in GitHub Desktop.

Clojars へデプロイする方法

gpg --gen-key

usernamekaosfと入力した(5文字以上必要だった)

emailka.kaosf-=at=-gmail.comと入力した(-=at=-@)

usernameemailは人によってそれぞれ適切なものを入力するべし

以前はパスフレーズを空にしていた

今回はパスワードをちゃんと入力する

以下のコマンドを実行

gpg --list-keys

以下のような出力(一部改変)

/home/<USERNAME>/.gnupg/pubring.kbx
---------------------------
pub   rsa2048/0123ABCD 2016-02-07 [SC]
uid         [ultimate] kaosf <[email protected]>
sub   rsa2048/6789CDEF 2016-02-07 [E]

さきほどの出力の 0123ABCD を使う

gpg --send-keys 0123ABCD

これでどこかのサーバに公開鍵がアップされる(のだと思う)

gpg --export -a 0123ABCD

これで公開鍵が出力される

Clojarsに貼り付ける必要があるときにはこれを使う

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment