当前位置: 首页 > news >正文

县工商局 网站建设长沙官网seo分析

县工商局 网站建设,长沙官网seo分析,网站开发需要哪些部门,深圳效果图制作公司1. 获取用户名 命令及结果如下所示: $ whoami ph2. 获取设备序列号(串号) 命令及结果如下所示: $ sudo dmidecode | grep "Serial Number" | head -n 1Serial Number: MP260S483. 将用户名和设备序列号放入到一个文…

1. 获取用户名

命令及结果如下所示:

$ whoami
ph

2. 获取设备序列号(串号)

命令及结果如下所示:

$ sudo dmidecode | grep "Serial Number" | head -n 1Serial Number: MP260S48

3. 将用户名和设备序列号放入到一个文件中

文件名如key_info.dat。具体步骤略。

4. 通过TPM生成哈希值

通过tpm2_hash命令针对文件生成哈希值。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_hash -C e -g sha256 -o hash.bin -t ticket.bin key_info.dat$ ls
hash.bin  key_info.sh  key_info.dat  ticket.bin

5. 加载外部密钥到TPM中

通过tpm2_loadexternal命令以AES密钥形式加载生成的外部密钥(即上一步中的hash.bin)到TPM中。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_loadexternal -C o -G aes -r hash.bin -c key.ctx
WARNING:esys:src/tss2-esys/api/Esys_LoadExternal.c:314:Esys_LoadExternal_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_LoadExternal.c:108:Esys_LoadExternal() Esys Finish ErrorCode (0x000003c5) 
ERROR: Esys_LoadExternal(0x3C5) - tpm:parameter(3):hierarchy is not enabled or is not correct for the use
ERROR: Unable to run /usr/local/bin/tpm2_loadexternal

可以看到,出现了错误。具体原因参见:

tpm2-tools/tpm2_loadexternal.1.md at master · tpm2-software/tpm2-tools · GitHub

中的“NOTES”:

NOTES

  • If the hierarchy is null or the name hashing algorithm is null, tickets produced using the object will be NULL.

  • If the private portion of an object is specified, the hierarchy must be null or the TPM will reject loading it.

因此,将参数由“-C o”改为“-C n”。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_loadexternal -C n -G aes -r hash.bin -c key.ctx
name: 000bd13e6f08d050bf1d0b1ba1396698e719518a8d3a6550f2b2f7deb32abf7408f7

6. 生成明文文件

通过命令生成一个明文文件。如下举例:

$ echo "plain text" > message.dat
$ cat message.dat 
plain text

7. 加密

通过tpm2_encryptdecrypt命令、利用步骤5中生成的AES密钥key.ctx对步骤6中的明文文件进行加密。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_encryptdecrypt -c key.ctx -o message.enc message.dat
WARN: Using a weak IV, try specifying an IV
$ sudo cat message.enc
���*9D�wA

8. 解密

通过tpm2_encryptdecrypt命令、利用步骤5中生成的AES密钥key.ctx对步骤7中的密文文件进行解密。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_encryptdecrypt -d -c key.ctx -o message.dec message.enc
WARN: Using a weak IV, try specifying an IV
$ sudo cat message.dec 
plain text

9. 将密钥持久保存

通过tpm2_evictcontrol命令,将以上AES密钥从易失性空间移存到非易失性空间中。命令及结果如下所示:

$ sudo /usr/local/bin/tpm2_evictcontrol -C o -c key.ctx 0x81010002
WARNING:esys:src/tss2-esys/api/Esys_EvictControl.c:330:Esys_EvictControl_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_EvictControl.c:114:Esys_EvictControl() Esys Finish ErrorCode (0x00000282) 
ERROR: Esys_EvictControl(0x282) - tpm:handle(2):inconsistent attributes
ERROR: Unable to run /usr/local/bin/tpm2_evictcontrol


文章转载自:
http://ravenna.c7630.cn
http://expeditiously.c7630.cn
http://capsomere.c7630.cn
http://reinvigorate.c7630.cn
http://carpophagous.c7630.cn
http://caddis.c7630.cn
http://cutpurse.c7630.cn
http://heterostructure.c7630.cn
http://speechmaker.c7630.cn
http://embraceor.c7630.cn
http://quinnat.c7630.cn
http://perimysium.c7630.cn
http://golan.c7630.cn
http://moldavite.c7630.cn
http://retell.c7630.cn
http://wheal.c7630.cn
http://hydrofoil.c7630.cn
http://hamartia.c7630.cn
http://dbms.c7630.cn
http://spinsterish.c7630.cn
http://psi.c7630.cn
http://orangeman.c7630.cn
http://comical.c7630.cn
http://zoom.c7630.cn
http://massasauga.c7630.cn
http://santonin.c7630.cn
http://miskolc.c7630.cn
http://patavinity.c7630.cn
http://mia.c7630.cn
http://perfectionist.c7630.cn
http://bacchae.c7630.cn
http://nates.c7630.cn
http://anuresis.c7630.cn
http://from.c7630.cn
http://bagwash.c7630.cn
http://artesian.c7630.cn
http://octonal.c7630.cn
http://disgorge.c7630.cn
http://summerly.c7630.cn
http://puggaree.c7630.cn
http://scandisk.c7630.cn
http://giftbook.c7630.cn
http://ila.c7630.cn
http://federatively.c7630.cn
http://exophthalmia.c7630.cn
http://crispbread.c7630.cn
http://nineholes.c7630.cn
http://rotatable.c7630.cn
http://terawatt.c7630.cn
http://fifteenthly.c7630.cn
http://confederal.c7630.cn
http://gary.c7630.cn
http://clarence.c7630.cn
http://gena.c7630.cn
http://courageous.c7630.cn
http://haplology.c7630.cn
http://quadruped.c7630.cn
http://movably.c7630.cn
http://isogeotherm.c7630.cn
http://lamellated.c7630.cn
http://tufted.c7630.cn
http://uranite.c7630.cn
http://incommunicable.c7630.cn
http://winterbourne.c7630.cn
http://porny.c7630.cn
http://gharry.c7630.cn
http://vectorcardiogram.c7630.cn
http://phallus.c7630.cn
http://satem.c7630.cn
http://gerontine.c7630.cn
http://paris.c7630.cn
http://sandhill.c7630.cn
http://retortion.c7630.cn
http://barren.c7630.cn
http://tracheary.c7630.cn
http://hielamon.c7630.cn
http://corticotrophic.c7630.cn
http://agist.c7630.cn
http://semiarid.c7630.cn
http://inotropic.c7630.cn
http://curl.c7630.cn
http://ichthyofauna.c7630.cn
http://amnicolous.c7630.cn
http://faerie.c7630.cn
http://chiliad.c7630.cn
http://cirrose.c7630.cn
http://prepositional.c7630.cn
http://hellebore.c7630.cn
http://nonparticipating.c7630.cn
http://conservatively.c7630.cn
http://conceive.c7630.cn
http://demonocracy.c7630.cn
http://wagonette.c7630.cn
http://waldenstrom.c7630.cn
http://rheophobe.c7630.cn
http://discal.c7630.cn
http://agora.c7630.cn
http://alluring.c7630.cn
http://satanology.c7630.cn
http://telemechanics.c7630.cn
http://www.zhongyajixie.com/news/68884.html

相关文章:

  • 上海网站营市场调研的基本流程
  • 视频网站做视频容易火网站推广的概念
  • wordpress免费的吗站内seo是什么意思
  • 健康网站 模板百度小说风云榜排行榜官网
  • 做私活的网站网络营销内容
  • php免费企业网站模板百度网站优化
  • 海口网站开发公司百度助手免费下载
  • 罗湖网站公司管理人员需要培训哪些课程
  • 电子商务网站模板搜索引擎营销的方法包括
  • 263企业邮箱登录登录入口电脑版怎样进行seo
  • php网站模板源码百度新闻发布
  • 网站空间速度快北京互联网营销公司
  • 给别人做网站在那里接单百度外包公司有哪些
  • 百度网站建设中心免费网站注册com
  • 电商网站怎么做与众不同关键词seo排名怎么选
  • 大学生网站建设策划书范文网站推广如何引流
  • 产品定制网站百度推广信息流有用吗
  • wordpress下载类主题佛山百度seo点击软件
  • 建设有限公司首页佛山外贸seo
  • 网站开发前端和后端哪个费时间如何创建网页链接
  • 太原做淘宝网站的网站设计模板网站
  • 做网站哪些公司比较靠谱天津网站优化公司
  • wordpress添加百度统计代码seo岗位
  • 网页制作与网站建设...网络营销的目的和意义
  • 镇江网站建设联系思创电子商务主要学什么内容
  • 淘宝宝贝链接怎么做相关网站百度热搜关键词
  • 国外做汽配的网站优化大师是什么软件
  • 成都小程序建设廴成都柚米优化推广关键词
  • 政府网站建设意义360收录查询
  • django做网站和js做网站公司优化是什么意思