Libelektra: crypto_botan: botan 2.13 ํ—ค๋” ์‚ฌ์šฉ ์ค‘๋‹จ ๊ฒฝ๊ณ 

์— ๋งŒ๋“  2020๋…„ 04์›” 09์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: ElektraInitiative/libelektra

botan 2.13.x(์•„๋งˆ๋„ ๊ทธ ์ด์ „?)๋ถ€ํ„ฐ ๋‹ค์Œ ํ—ค๋” ์‚ฌ์šฉ ์ค‘๋‹จ ๊ฒฝ๊ณ ๋ฅผ ๋ฐ›๊ธฐ ์‹œ์ž‘ํ–ˆ์Šต๋‹ˆ๋‹ค.

In file included from ../src/plugins/crypto/botan_operations.cpp:12:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/hmac.h:14:1: warning: this header will be made internal in the future [-W#pragma-messages]
BOTAN_FUTURE_INTERNAL_HEADER(hmac.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:107:49: note: expanded from macro 'BOTAN_FUTURE_INTERNAL_HEADER'
      #define BOTAN_FUTURE_INTERNAL_HEADER(hdr) _Pragma("message \"this header will be made internal in the future\"")
                                                ^
<scratch space>:100:2: note: expanded from here
 message "this header will be made internal in the future"
 ^
In file included from ../src/plugins/crypto/botan_operations.cpp:13:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/init.h:16:1: warning: this header is deprecated [-W#pragma-messages]
BOTAN_DEPRECATED_HEADER(init.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:104:42: note: expanded from macro 'BOTAN_DEPRECATED_HEADER'
    #define BOTAN_DEPRECATED_HEADER(hdr) _Pragma("message \"this header is deprecated\"")
                                         ^
<scratch space>:102:2: note: expanded from here
 message "this header is deprecated"
 ^
In file included from ../src/plugins/crypto/botan_operations.cpp:14:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/lookup.h:35:1: warning: this header is deprecated [-W#pragma-messages]
BOTAN_DEPRECATED_HEADER(lookup.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:104:42: note: expanded from macro 'BOTAN_DEPRECATED_HEADER'
    #define BOTAN_DEPRECATED_HEADER(hdr) _Pragma("message \"this header is deprecated\"")
                                         ^
<scratch space>:104:2: note: expanded from here
 message "this header is deprecated"
 ^
In file included from ../src/plugins/crypto/botan_operations.cpp:15:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/pbkdf2.h:16:1: warning: this header will be made internal in the future [-W#pragma-messages]
BOTAN_FUTURE_INTERNAL_HEADER(pbkdf2.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:107:49: note: expanded from macro 'BOTAN_FUTURE_INTERNAL_HEADER'
      #define BOTAN_FUTURE_INTERNAL_HEADER(hdr) _Pragma("message \"this header will be made internal in the future\"")
                                                ^
<scratch space>:106:2: note: expanded from here
 message "this header will be made internal in the future"
 ^
In file included from ../src/plugins/crypto/botan_operations.cpp:17:
In file included from /usr/local/Cellar/botan/2.13.0/include/botan-2/botan/sha2_32.h:12:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/mdx_hash.h:13:1: warning: this header will be made internal in the future [-W#pragma-messages]
BOTAN_FUTURE_INTERNAL_HEADER(mdx_hash.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:107:49: note: expanded from macro 'BOTAN_FUTURE_INTERNAL_HEADER'
      #define BOTAN_FUTURE_INTERNAL_HEADER(hdr) _Pragma("message \"this header will be made internal in the future\"")
                                                ^
<scratch space>:108:2: note: expanded from here
 message "this header will be made internal in the future"
 ^
In file included from ../src/plugins/crypto/botan_operations.cpp:17:
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/sha2_32.h:14:1: warning: this header will be made internal in the future [-W#pragma-messages]
BOTAN_FUTURE_INTERNAL_HEADER(sha2_32.h)
^
/usr/local/Cellar/botan/2.13.0/include/botan-2/botan/compiler.h:107:49: note: expanded from macro 'BOTAN_FUTURE_INTERNAL_HEADER'
      #define BOTAN_FUTURE_INTERNAL_HEADER(hdr) _Pragma("message \"this header will be made internal in the future\"")
                                                ^
<scratch space>:110:2: note: expanded from here
 message "this header will be made internal in the future"
 ^
6 warnings generated.

Botan์€ ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” ํ—ค๋” ๋ฌธ์„œ๋ฅผ ์œ ์ง€ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

build dependencies

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ? ์œ ์ง€ ๊ด€๋ฆฌ ๋…ธ๋ ฅ์„ ํ•ฉ๋ฆฌ์ ์œผ๋กœ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ์ผ๋ถ€ ์•”ํ˜ธํ™” ํ”Œ๋Ÿฌ๊ทธ์ธ(์ค‘๋ณต๋œ ๊ธฐ๋Šฅ ํฌํ•จ)์„ ์ œ๊ฑฐํ•ด์•ผ ํ• ๊นŒ์š”?

์•”ํ˜ธํ™” ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ๋ณ€ํ˜•์ด ํ•™์ˆ  ์—ฐ๊ตฌ๋ฅผ ์œ„ํ•ด ๋„์ž…๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์—(์ด๋Š” 2๋…„ ์ „์— ์™„๋ฃŒ๋จ) ๊ณ„์† ์ง„ํ–‰ํ•˜๋Š” ๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ libgcrypt ๋ฒ„์ „์„ ์œ ์ง€ํ•˜๊ณ  ๋‚˜๋จธ์ง€(botan, OpenSSL)๋ฅผ ์‚ญ์ œํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ํ‹ฐ์ผ“์„ ์—ด๊ฒ ์Šต๋‹ˆ๋‹ค.

๋ชจ๋“  3 ๋Œ“๊ธ€

์ด ๋ฌธ์ œ๋ฅผ ์‹ ๊ณ ํ•ด ์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

@petermax2 : ๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ? ์œ ์ง€ ๊ด€๋ฆฌ ๋…ธ๋ ฅ์„ ํ•ฉ๋ฆฌ์ ์œผ๋กœ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ์ผ๋ถ€ ์•”ํ˜ธํ™” ํ”Œ๋Ÿฌ๊ทธ์ธ(์ค‘๋ณต๋œ ๊ธฐ๋Šฅ ํฌํ•จ)์„ ์ œ๊ฑฐํ•ด์•ผ ํ• ๊นŒ์š”?

๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ? ์œ ์ง€ ๊ด€๋ฆฌ ๋…ธ๋ ฅ์„ ํ•ฉ๋ฆฌ์ ์œผ๋กœ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ์ผ๋ถ€ ์•”ํ˜ธํ™” ํ”Œ๋Ÿฌ๊ทธ์ธ(์ค‘๋ณต๋œ ๊ธฐ๋Šฅ ํฌํ•จ)์„ ์ œ๊ฑฐํ•ด์•ผ ํ• ๊นŒ์š”?

์•”ํ˜ธํ™” ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ๋ณ€ํ˜•์ด ํ•™์ˆ  ์—ฐ๊ตฌ๋ฅผ ์œ„ํ•ด ๋„์ž…๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์—(์ด๋Š” 2๋…„ ์ „์— ์™„๋ฃŒ๋จ) ๊ณ„์† ์ง„ํ–‰ํ•˜๋Š” ๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ libgcrypt ๋ฒ„์ „์„ ์œ ์ง€ํ•˜๊ณ  ๋‚˜๋จธ์ง€(botan, OpenSSL)๋ฅผ ์‚ญ์ œํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ํ‹ฐ์ผ“์„ ์—ด๊ฒ ์Šต๋‹ˆ๋‹ค.

์‹๋ฌผ ์ง€์›์ด ์ œ๊ฑฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰

๊ด€๋ จ ๋ฌธ์ œ

sanssecours picture sanssecours  ยท  4์ฝ”๋ฉ˜ํŠธ

markus2330 picture markus2330  ยท  4์ฝ”๋ฉ˜ํŠธ

mpranj picture mpranj  ยท  3์ฝ”๋ฉ˜ํŠธ

markus2330 picture markus2330  ยท  3์ฝ”๋ฉ˜ํŠธ

mpranj picture mpranj  ยท  4์ฝ”๋ฉ˜ํŠธ