Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20190419 iOSアプリで証明書の情報を参照する

70adfe7679427fa498899769e632b672?s=47 Kei Ito
April 19, 2019

20190419 iOSアプリで証明書の情報を参照する

70adfe7679427fa498899769e632b672?s=128

Kei Ito

April 19, 2019
Tweet

Transcript

  1. J04ΞϓϦͰ ূ໌ॻͷ৘ใΛ ࢀর͢Δ .PCJMF"DU,:050 JUPL!ͦΒ͔ͥ

  2. JUPL!ͦΒ͔ͥ w ͍ͱ͏͚͍ʢJUPLʣ w ɹɹɹɹɹɹͷதͷਓʢʴ෭ۀˏ͸ͯͳʣ w ϞόΠϧΞϓϦΤϯδχΞ݉$&0 w IUUQTJUPLKQ IUUQTTPSBLB[FDPKQ

    !JUPLKQ
  3. J04ΞϓϦͰ ূ໌ॻͷ৘ใΛ ࢀর͢Δ

  4. 2JJUBʹॻ͖·ͨ͠ IUUQTLFJUPNPCJMFBDULZPUP

  5. ΤϯλʔϓϥΠζͳݱ৔ʹͯ w ূ໌ॻʢϓϩϏδϣϯʣ͕੾ΕΔલʹϏϧυ͠௚͢ ඞཁ͕͋Δ w ഑෍ଆ͚ͩͰͳ͘ɺݸʑͷ୺຤Ͱ؆୯ʹূ໌ॻʢϓ ϩϏδϣϯʣͷظݶΛ஌Γ͍ͨ

  6. ΞϓϦ͔Β ௚઀ূ໌ॻͷ৘ใΛ ࢀর͢Δํ๏͸ ͳͦ͞͏

  7. Ͱ΋Ϗϧυ࣌ͳΒ Θ͔ΔΜ͡Όʁ

  8. ΈΜͳେ޷͖ #VJME1IBTFTҊ݅

  9. ϓϩϏδϣϯΛύʔε securityίϚϯυΛ࢖ͬͯॲཧ͠΍͍͢QMJTUʹ $ security cms -D -i xxx.mobileprovision ˠQMJTUܗࣜͷ΋ͷ͕ඪ४ग़ྗ΁ ͋ͱ͸1MJTU#VEEZͰඞཁͳ৘ใΛऔΓग़ͤ͹0,

  10. QMJTUͷத਎ ྫ $SFBUJPO%BUF ࡞੒೔ &YQJSBUJPO%BUF ༗ޮظݶ &OUJUMFNFOUFT BQQMJDBUJPOJEFOUJpFS "QQ*%

  11. ߲໨ΛऔΓग़͢ ࡞੒೔ $ PlistBuddy -c \ 'Print :CreationDate' /dev/stdin <<<

    \ $(security cms -D -i xxx.mobileprovision)
  12. ࡞੒೔ $ PlistBuddy -c \ "Set :PreferenceSpecifiers:2:DefaultValue ${CREATION_DATE}" \ "path/to/Settings.bundle/Root.plist"

    ઃఆΞϓϦʹຒΊࠐΉ
  13. ׬੒

  14. 2JJUBʹ΋ॻ͍ͯ·͢ IUUQTLFJUPNPCJMFBDULZPUP