블로그 이미지
올해목표 // 10월 어학연수 떠나자~ 자수씨

카테고리

전체글 (1457)
Brand New! (28)
주절주절 (213)
MOT (11)
해외쇼핑 (49)
쇼핑노트 (150)
취미생활 (94)
iPhone (4)
Eclipse (121)
Google (83)
Spring (31)
JAVA (176)
JavaScript (59)
WEB (49)
Database (20)
OS (26)
Tools (8)
Tips (26)
IT정보 (1)
Book (21)
Programming (37)
외부행사 (43)
주변인들 (17)
여행노트 (60)
학교생활 (30)
회사생활 (52)
사회생활 (5)
외국어공부 (12)
잡동사니 (30)
Total
Today
Yesterday
 
12-31 00:00
 

달력

« » 2024.12
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
 

최근에 올라온 글

최근에 달린 댓글

'GNU Privacy Guard'에 해당되는 글 1건

  1. 2011.07.24 Spring Roo addon 개발환경 구성하기 - 3. GNU Privacy Guard 설치



Spring Roo 소스를 빌드하다 보니, gpg.exe 프로그램이 없다는 문제가 발생하였습니다.

gpg 는 GNU Privacy Guard 의 약자로 http://en.wikipedia.org/wiki/GNU_Privacy_Guard 에서 어떤 것인지를 확인하실 수 잇습니다.



GNU Privacy Guard 설치

1. Gpg4win 다운로드
http://gnupg.org/ 에서 OS 에 맞는 프로그램을 설치합니다.

개발환경이 윈도우기 때문에 gpg4win 프로그램을 다운로드 받습니다.
http://www.gpg4win.org/download.html

2011년 7월 24일 기준, Gpg4win 2.1.0 다운로드를 하였으며, gpg-key 만을 생성하는 것이기 때문에 light 버전으로도 가능합니다.


2. key-pair 생성

위에서 설치한 gpg 프로그램을 이용하여 key-pair 를 생성합니다.

C:\Program Files\GNU\GnuPG>gpg --gen-key
gpg (GnuPG) 2.0.17; Copyright (C) 2011 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y
GnuPG needs to construct a user ID to identify your key.
Real name: Vicki Yi
Email address: vicki@*******
Comment: -_-;;;
You selected this USER-ID:
    "Vicki Yi (-_-;;;) <vicki@*******>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.
gpg: AllowSetForegroundWindow(6148) failed: 액세스가 거부되었습니다.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: C:/Users/Administrator/AppData/Roaming/gnupg/trustdb.gpg: trustdb created
gpg: key D8F5138B marked as ultimately trusted
public and secret key created and signed.
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
pub   2048R/D8F5138B 2011-07-23
      Key fingerprint = **** **** **** **** ****  **** **** **** **** ****
uid                  Vicki Yi (-_-;;;) <vicki@*******>
sub   2048R/ED2C781B 2011-07-23

C:\Program Files\GNU\GnuPG>


중간에 key-pair 비밀번호 입력하는 창이 나옵니다. 적절한 암호를 입력합니다.


3. Maven 빌드 3차

pgp 설치도 끝났고, key-pair 도 생성했으니, 다시 Spring Roo 소스를 빌드합니다.

> mvn clean install eclipse:clean eclipse:eclipse

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spring Roo ........................................ SUCCESS [1.044s]
[INFO] Spring Roo - Deployment Support ................... SUCCESS [0.236s]
[INFO] Spring Roo - OSGi Bundle Module Parent ............ SUCCESS [1.970s]
[INFO] Spring Roo - OSGi Roo Bundle Module Parent ........ SUCCESS [0.512s]
[INFO] Spring Roo - Bootstrap ............................ SUCCESS [2.451s]
[INFO] Spring Roo - OSGi Start Level Control ............. SUCCESS [1.893s]
[INFO] Spring Roo - Support .............................. SUCCESS [2.678s]
[INFO] Spring Roo - Support for OSGi Features ............ SUCCESS [1.695s]
[INFO] Spring Roo - URL Stream API Contract .............. SUCCESS [1.489s]
[INFO] Spring Roo - Shell ................................ SUCCESS [2.571s]
[INFO] Spring Roo - Shell (OSGi Launcher) ................ SUCCESS [2.257s]
[INFO] Spring Roo - URL Stream - JDK ..................... SUCCESS [1.846s]
[INFO] Spring Roo - Shell - JLine ........................ SUCCESS [2.027s]
[INFO] Spring Roo - Shell - JLine (OSGi Launcher) ........ SUCCESS [1.612s]
[INFO] Spring Roo - Metadata ............................. SUCCESS [2.249s]
[INFO] Spring Roo - User Agent Analysis (UAA) Integration  SUCCESS [1.924s]
[INFO] Spring Roo - Felix Interoperability ............... SUCCESS [2.522s]
[INFO] Spring Roo - Model ................................ SUCCESS [2.215s]
[INFO] Spring Roo - File Undo ............................ SUCCESS [1.650s]
[INFO] Spring Roo - File Monitor ......................... SUCCESS [1.786s]
[INFO] Spring Roo - File Monitor - Polling ............... SUCCESS [1.618s]
[INFO] Spring Roo - File Monitor - Polling (Roo Launcher)  SUCCESS [1.521s]
[INFO] Spring Roo - Process Manager ...................... SUCCESS [2.276s]
[INFO] Spring Roo - Project .............................. SUCCESS [2.675s]
[INFO] Spring Roo - Classpath ............................ SUCCESS [4.070s]
[INFO] Spring Roo - Classpath (JavaParser Implementation)  SUCCESS [2.328s]
[INFO] Spring Roo - Addon - toString ..................... SUCCESS [2.235s]
[INFO] Spring Roo - Addon - JavaBean Method Manager ...... SUCCESS [1.939s]
[INFO] Spring Roo - Addon - Plural Details ............... SUCCESS [2.198s]
[INFO] Spring Roo - Addon - Property Files ............... SUCCESS [1.761s]
[INFO] Spring Roo - Addon - @Configurable Support ........ SUCCESS [2.113s]
[INFO] Spring Roo - Addon - Email ........................ SUCCESS [2.147s]
[INFO] Spring Roo - Addon - JPA .......................... SUCCESS [2.465s]
[INFO] Spring Roo - Addon - JMS .......................... SUCCESS [1.927s]
[INFO] Spring Roo - Addon - Test Data On Demand .......... SUCCESS [2.639s]
[INFO] Spring Roo - Addon - Automated Integration Testing  SUCCESS [2.189s]
[INFO] Spring Roo - Addon - Serializable ................. SUCCESS [2.300s]
[INFO] Spring Roo - Addon - Entity ....................... SUCCESS [2.448s]
[INFO] Spring Roo - Addon - Finder ....................... SUCCESS [2.746s]
[INFO] Spring Roo - Addon - Logging ...................... SUCCESS [1.813s]
[INFO] Spring Roo - Addon - Property Editor .............. SUCCESS [1.945s]
[INFO] Spring Roo - Addon - Backup ....................... SUCCESS [2.351s]
[INFO] Spring Roo - Addon - JSON ......................... SUCCESS [2.122s]
[INFO] Spring Roo - Addon - Web MVC Controller ........... SUCCESS [4.669s]
[INFO] Spring Roo - Addon - Web MVC JSP View ............. SUCCESS [3.836s]
[INFO] Spring Roo - Addon - Web MVC Embedded Extensions .. SUCCESS [3.839s]
[INFO] Spring Roo - Addon - Spring Security .............. SUCCESS [2.066s]
[INFO] Spring Roo - Addon - Solr ......................... SUCCESS [3.471s]
[INFO] Spring Roo - Addon - Web - Flow ................... SUCCESS [2.180s]
[INFO] Spring Roo - Addon - Web Selenium Test Generator .. SUCCESS [2.708s]
[INFO] Spring Roo - Addon - Google Web Toolkit ........... SUCCESS [7.913s]
[INFO] Spring Roo - Addon - JDBC Driver Acquisition ...... SUCCESS [2.183s]
[INFO] Spring Roo - Addon - Database Reverse Engineering . SUCCESS [3.592s]
[INFO] Spring Roo - Addon - Creator ...................... SUCCESS [2.083s]
[INFO] Spring Roo - Addon - RooBot Client ................ SUCCESS [2.402s]
[INFO] Spring Roo - Addon - Op4J ......................... SUCCESS [2.341s]
[INFO] Spring Roo - Addon - GIT .......................... SUCCESS [15.080s]
[INFO] Spring Roo - Addon - Cloud Foundry ................ SUCCESS [41.389s]
[INFO] Spring Roo - Annotations (ASLv2/GPLv3 Dual Licensed)  SUCCESS [2.483s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:11.783s
[INFO] Finished at: Sun Jul 24 01:27:22 KST 2011
[INFO] Final Memory: 147M/247M
[INFO] ------------------------------------------------------------------------


중간에 key-pair 생성 시 입력했던 비빌번호를 입력하는 창이 나옵니다. 혹시 해당 입력 창에 아무것도 입력이 되지 않는다면 아래 페이지를 참고하시기 바랍니다.
http://edin.no-ip.com/blog/hswong3i/cant-type-anything-pinentry-exe

  1. Go to C:\Program Files\GNU\GnuPG
  2. Backup pinentry.exe as pinentry.exe.orig
  3. Copy pinentry-w32.exe as pinentry.exe
  4. Test with Thunderbird, done!!





정상적으로 빌드가 완료되었습니다~~

Posted by 자수씨
, |

글 보관함

최근에 받은 트랙백