亚洲国产成人,色呦呦内射午夜,无码一级片,无码人妻少妇色欲AV一区二区

<samp id="jg8hh"></samp>

<p id="jg8hh"></p><delect id="jg8hh"><em id="jg8hh"><blockquote id="jg8hh"></blockquote></em></delect><acronym id="jg8hh"><dd id="jg8hh"></dd></acronym><button id="jg8hh"><dd id="jg8hh"><acronym id="jg8hh"></acronym></dd></button><samp id="jg8hh"><em id="jg8hh"><blockquote id="jg8hh"></blockquote></em></samp>

<p id="jg8hh"></p>

<samp id="jg8hh"><legend id="jg8hh"></legend></samp>
<samp id="jg8hh"><legend id="jg8hh"><samp id="jg8hh"></samp></legend></samp>

<samp id="jg8hh"></samp>

<p id="jg8hh"></p><acronym id="jg8hh"></acronym><p id="jg8hh"><dd id="jg8hh"><acronym id="jg8hh"></acronym></dd></p><p id="jg8hh"></p>

<p id="jg8hh"></p><delect id="jg8hh"><legend id="jg8hh"><var id="jg8hh"></var></legend></delect><button id="jg8hh"><listing id="jg8hh"><i id="jg8hh"></i></listing></button>
<delect id="jg8hh"><legend id="jg8hh"><var id="jg8hh"></var></legend></delect>

非對稱密鑰實驗

發(fā)布時間:2024-04-13
系統(tǒng)運(yùn)維
非對稱密鑰實驗
實驗?zāi)康?br>對文件進(jìn)行非對稱加解密
實驗準(zhǔn)備
主機(jī):a和bos: centos7ip :192.168.172.134一、分別在2臺主機(jī)上生成公鑰和私鑰
1.在主機(jī)a上生成公私鑰
[root@hosta ~]# gpg --gen-keygpg (gnupg) 2.0.22; copyright (c) 2013 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.gpg: directory `/root/.gnupg\\\' createdgpg: new configuration file `/root/.gnupg/gpg.conf\\\' createdgpg: warning: options in `/root/.gnupg/gpg.conf\\\' are not yet active during this rungpg: keyring `/root/.gnupg/secring.gpg\\\' createdgpg: keyring `/root/.gnupg/pubring.gpg\\\' createdplease 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) 1024 #先擇密鑰的長度requested keysize is 1024 bitsplease 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 yearskey is valid for? (0) #指定密鑰的有效期限key does not expire at allis this correct? (y/n) y #確認(rèn)密鑰有效期為永久有效gnupg needs to construct a user id to identify your key.real name: hosta #輸入非對稱密鑰所對應(yīng)的主機(jī)名email address: comment: you selected this user-id: hostachange (n)ame, (c)omment, (e)mail or (o)kay/(q)uit? o #確認(rèn)密鑰信息you need a passphrase to protect your secret key.you don\\\'t want a passphrase - this is probably a *bad* idea!i will do it anyway. you can change your passphrase at any time,using this program with the option --edit-key.we need to generate a lot of random bytes. it is a good idea to performsome other action (type on the keyboard, move the mouse, utilize thedisks) during the prime generation; this gives the random numbergenerator a better chance to gain enough entropy.we need to generate a lot of random bytes. it is a good idea to performsome other action (type on the keyboard, move the mouse, utilize thedisks) during the prime generation; this gives the random numbergenerator a better chance to gain enough entropy.gpg: /root/.gnupg/trustdb.gpg: trustdb createdgpg: key 4b9a0b62 marked as ultimately trustedpublic and secret key created and signed.gpg: checking the trustdbgpg: 3 marginal(s) needed, 1 complete(s) needed, pgp trust modelgpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1upub 1024r/4b9a0b62 2019-04-12 key fingerprint = e128 ad1f e1d5 5b0d c66c fd45 4786 0c63 4b9a 0b62uid hostasub 1024r/dd37ba59 2019-04-12#非對稱密生成完畢[root@hosta ~]# cd .gnupg/[root@hosta .gnupg]# lltotal 28-rw------- 1 root root 7680 apr 13 05:36 gpg.confdrwx------ 2 root root 6 apr 13 05:37 private-keys-v1.d-rw------- 1 root root 649 apr 13 05:37 pubring.gpg #公鑰文件-rw------- 1 root root 649 apr 13 05:37 pubring.gpg~ #公鑰的備份-rw------- 1 root root 600 apr 13 05:37 random_seed-rw------- 1 root root 1313 apr 13 05:37 secring.gpg #私鑰文件srwxr-xr-x 1 root root 0 apr 13 05:37 s.gpg-agent-rw------- 1 root root 1280 apr 13 05:37 trustdb.gpg2.b主機(jī)上生成公私鑰
[root@hostb ~]# gpg --gen-keygpg (gnupg) 2.0.22; copyright (c) 2013 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.gpg: directory `/root/.gnupg\\\' createdgpg: new configuration file `/root/.gnupg/gpg.conf\\\' createdgpg: warning: options in `/root/.gnupg/gpg.conf\\\' are not yet active during this rungpg: keyring `/root/.gnupg/secring.gpg\\\' createdgpg: keyring `/root/.gnupg/pubring.gpg\\\' createdplease 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?
上一個:兆歐表/緣電阻搖表(1000v塑殼)DP-ZC25-4
下一個:單法蘭壓力變送器需要注意哪些問題

干貨!歐洲FBA頭程四大運(yùn)輸方式優(yōu)劣勢分析,福州到歐洲fba鐵路運(yùn)輸
供應(yīng)德國zeilfelder齒輪泵
袋式除塵器運(yùn)行初期維護(hù)的重要性
意大利Megabarre母線槽系統(tǒng)用于功率分配,主要安裝在工業(yè)/商業(yè)/住宅/建筑
現(xiàn)代化趨勢:凈菜加工設(shè)備在餐飲行業(yè)的應(yīng)用與發(fā)展
60噸每天地埋式污水處理設(shè)備
喝老茶存新茶:如何鑒別新茶有儲存價值
汽車排放氣體流量分析儀設(shè)計
血桃的養(yǎng)分價值血桃有補(bǔ)益氣血
十點(diǎn)識茶:金玉天勁黃而不卷者