MacAuthlib.

MAC ¾×¼¼½º ÀÎÁõÀ» ±¸ÇöÇϱâÀ§ÇÑ ·Î¿ì ·¹º§ ¶óÀ̺귯¸®
Áö±Ý ´Ù¿î·Îµå

MacAuthlib. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Mozilla Services Team
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://mozilla.org

MacAuthlib. ű×


MacAuthlib. ¼³¸í

MacAuthLibÀº Mac Access ÀÎÁõÀ» ±¸ÇöÇϱâÀ§ÇÑ Àú¼öÁØ Python ¶óÀ̺귯¸®À̸ç http://tools.ietf.org/html/draft-mac-outh-v2-http-mac-01to¿¡ ¼³¸í µÈ °£´ÜÇÑ HTTP ¿äû ¼­¸í ü°èÀÔ´Ï´Ù. ¸®¼Ò½º Mac ¾×¼¼½º ÀÎÁõÀ» »ç¿ëÇϴ Ŭ¶óÀ̾ðÆ®´Â ID ¹× ºñ¹Ð Å°¸¦ Æ÷ÇÔÇÏ¿© MAC ÀÚ°Ý Áõ¸í ¼¼Æ®¸¦ °¡Á®¿Í¾ßÇÕ´Ï´Ù. ÀÌ·¯ÇÑ ÀÚ°Ý Áõ¸íÀ» »ç¿ëÇÏ¿© ¼­¹ö¿¡ ¼­¸í µÈ ¿äûÀ»ÇÕ´Ï´Ù. º¸È£ µÈ ÀÚ¿ø¿¡ ¾×¼¼½ºÇÏ´Â °æ¿ì ¼­¹ö´Â ´ÙÀ½°ú °°ÀÌ Scheme "Mac"°ú ÇÔ²² 401 縰Áö ÀÀ´äÀ» »ý¼ºÇÕ´Ï´Ù.> get / protected_resource http / 1.1> È£½ºÆ® : example.com get / protected_resource http / 1.1> host : example.com> ±ÇÇÑ ºÎ¿© : Mac ID = "h480djs93hd8",> ts = "1336363200",> nonce = "dj83hs9s",> mac = "bhcqx1zexm ="http / 1.1200 OK content-type : ´«¿¡ ´ëÇÑ ÅؽºÆ® / ÀÏ¹Ý : ºñ¹Ð µ¥ÀÌÅÍ!ÀÌ µµ¼­°üÀº ³·Àº - ÀÌ·¯ÇÑ ÀÎÁõ ü°è¸¦ ±¸ÇöÇÏ´Â µ¥ ÇÊ¿äÇÑ ·¹º§ ±â´É. Mac Auth Ŭ¶óÀ̾ðÆ®ÀÇ °æ¿ì ´ÙÀ½°ú °°Àº ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. - sign_request (req, id, key, hashmod = sha1) : Mac Access auth.for for Mac Auth ¼­¹ö¸¦ »ç¿ëÇÏ¿© ´ÙÀ½ ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. - get_id (REQ) : Request.- CHECK_SIGNATURE (REQ, KEY, HASHMOD = SHA1) : ¿äûÀÌ ÁöÁ¤µÈ KEY.ProductÀÇ È¨ÆäÀÌÁö·Î ¼­¸í µÈÁö È®ÀÎÇϽʽÿÀ.


MacAuthlib. °ü·Ã ¼ÒÇÁÆ®¿þ¾î