pelle-ruby-openid 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +215 -0
- data/CHANGES-2.1.0 +36 -0
- data/INSTALL +47 -0
- data/LICENSE +210 -0
- data/NOTICE +2 -0
- data/README +82 -0
- data/UPGRADE +127 -0
- data/VERSION +1 -0
- data/examples/README +32 -0
- data/examples/active_record_openid_store/README +58 -0
- data/examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb +24 -0
- data/examples/active_record_openid_store/XXX_upgrade_open_id_store.rb +26 -0
- data/examples/active_record_openid_store/init.rb +8 -0
- data/examples/active_record_openid_store/lib/association.rb +10 -0
- data/examples/active_record_openid_store/lib/nonce.rb +3 -0
- data/examples/active_record_openid_store/lib/open_id_setting.rb +4 -0
- data/examples/active_record_openid_store/lib/openid_ar_store.rb +57 -0
- data/examples/active_record_openid_store/test/store_test.rb +212 -0
- data/examples/discover +49 -0
- data/examples/rails_openid/README +153 -0
- data/examples/rails_openid/Rakefile +10 -0
- data/examples/rails_openid/app/controllers/application.rb +4 -0
- data/examples/rails_openid/app/controllers/consumer_controller.rb +122 -0
- data/examples/rails_openid/app/controllers/login_controller.rb +45 -0
- data/examples/rails_openid/app/controllers/server_controller.rb +265 -0
- data/examples/rails_openid/app/helpers/application_helper.rb +3 -0
- data/examples/rails_openid/app/helpers/login_helper.rb +2 -0
- data/examples/rails_openid/app/helpers/server_helper.rb +9 -0
- data/examples/rails_openid/app/views/consumer/index.rhtml +81 -0
- data/examples/rails_openid/app/views/layouts/server.rhtml +68 -0
- data/examples/rails_openid/app/views/login/index.rhtml +56 -0
- data/examples/rails_openid/app/views/server/decide.rhtml +26 -0
- data/examples/rails_openid/config/boot.rb +19 -0
- data/examples/rails_openid/config/database.yml +74 -0
- data/examples/rails_openid/config/environment.rb +54 -0
- data/examples/rails_openid/config/environments/development.rb +19 -0
- data/examples/rails_openid/config/environments/production.rb +19 -0
- data/examples/rails_openid/config/environments/test.rb +19 -0
- data/examples/rails_openid/config/routes.rb +24 -0
- data/examples/rails_openid/doc/README_FOR_APP +2 -0
- data/examples/rails_openid/public/.htaccess +40 -0
- data/examples/rails_openid/public/404.html +8 -0
- data/examples/rails_openid/public/500.html +8 -0
- data/examples/rails_openid/public/dispatch.cgi +12 -0
- data/examples/rails_openid/public/dispatch.fcgi +26 -0
- data/examples/rails_openid/public/dispatch.rb +12 -0
- data/examples/rails_openid/public/favicon.ico +0 -0
- data/examples/rails_openid/public/images/openid_login_bg.gif +0 -0
- data/examples/rails_openid/public/javascripts/controls.js +750 -0
- data/examples/rails_openid/public/javascripts/dragdrop.js +584 -0
- data/examples/rails_openid/public/javascripts/effects.js +854 -0
- data/examples/rails_openid/public/javascripts/prototype.js +1785 -0
- data/examples/rails_openid/public/robots.txt +1 -0
- data/examples/rails_openid/script/about +3 -0
- data/examples/rails_openid/script/breakpointer +3 -0
- data/examples/rails_openid/script/console +3 -0
- data/examples/rails_openid/script/destroy +3 -0
- data/examples/rails_openid/script/generate +3 -0
- data/examples/rails_openid/script/performance/benchmarker +3 -0
- data/examples/rails_openid/script/performance/profiler +3 -0
- data/examples/rails_openid/script/plugin +3 -0
- data/examples/rails_openid/script/process/reaper +3 -0
- data/examples/rails_openid/script/process/spawner +3 -0
- data/examples/rails_openid/script/process/spinner +3 -0
- data/examples/rails_openid/script/runner +3 -0
- data/examples/rails_openid/script/server +3 -0
- data/examples/rails_openid/test/functional/login_controller_test.rb +18 -0
- data/examples/rails_openid/test/functional/server_controller_test.rb +18 -0
- data/examples/rails_openid/test/test_helper.rb +28 -0
- data/lib/hmac/hmac.rb +112 -0
- data/lib/hmac/sha1.rb +11 -0
- data/lib/hmac/sha2.rb +25 -0
- data/lib/openid/association.rb +249 -0
- data/lib/openid/consumer/associationmanager.rb +344 -0
- data/lib/openid/consumer/checkid_request.rb +186 -0
- data/lib/openid/consumer/discovery.rb +498 -0
- data/lib/openid/consumer/discovery_manager.rb +123 -0
- data/lib/openid/consumer/html_parse.rb +134 -0
- data/lib/openid/consumer/idres.rb +523 -0
- data/lib/openid/consumer/responses.rb +148 -0
- data/lib/openid/consumer.rb +395 -0
- data/lib/openid/cryptutil.rb +97 -0
- data/lib/openid/dh.rb +89 -0
- data/lib/openid/extension.rb +39 -0
- data/lib/openid/extensions/ax.rb +516 -0
- data/lib/openid/extensions/oauth.rb +91 -0
- data/lib/openid/extensions/pape.rb +179 -0
- data/lib/openid/extensions/sreg.rb +277 -0
- data/lib/openid/extras.rb +11 -0
- data/lib/openid/fetchers.rb +238 -0
- data/lib/openid/kvform.rb +136 -0
- data/lib/openid/kvpost.rb +58 -0
- data/lib/openid/message.rb +553 -0
- data/lib/openid/protocolerror.rb +8 -0
- data/lib/openid/server.rb +1544 -0
- data/lib/openid/store/filesystem.rb +271 -0
- data/lib/openid/store/interface.rb +75 -0
- data/lib/openid/store/memcache.rb +107 -0
- data/lib/openid/store/memory.rb +84 -0
- data/lib/openid/store/nonce.rb +68 -0
- data/lib/openid/trustroot.rb +349 -0
- data/lib/openid/urinorm.rb +75 -0
- data/lib/openid/util.rb +110 -0
- data/lib/openid/yadis/accept.rb +148 -0
- data/lib/openid/yadis/constants.rb +21 -0
- data/lib/openid/yadis/discovery.rb +153 -0
- data/lib/openid/yadis/filters.rb +205 -0
- data/lib/openid/yadis/htmltokenizer.rb +305 -0
- data/lib/openid/yadis/parsehtml.rb +45 -0
- data/lib/openid/yadis/services.rb +42 -0
- data/lib/openid/yadis/xrds.rb +155 -0
- data/lib/openid/yadis/xri.rb +90 -0
- data/lib/openid/yadis/xrires.rb +106 -0
- data/lib/openid.rb +20 -0
- data/setup.rb +1551 -0
- data/test/data/accept.txt +124 -0
- data/test/data/dh.txt +29 -0
- data/test/data/example-xrds.xml +14 -0
- data/test/data/linkparse.txt +587 -0
- data/test/data/n2b64 +650 -0
- data/test/data/test1-discover.txt +137 -0
- data/test/data/test1-parsehtml.txt +152 -0
- data/test/data/test_discover/malformed_meta_tag.html +19 -0
- data/test/data/test_discover/openid.html +11 -0
- data/test/data/test_discover/openid2.html +11 -0
- data/test/data/test_discover/openid2_xrds.xml +12 -0
- data/test/data/test_discover/openid2_xrds_no_local_id.xml +11 -0
- data/test/data/test_discover/openid_1_and_2.html +11 -0
- data/test/data/test_discover/openid_1_and_2_xrds.xml +16 -0
- data/test/data/test_discover/openid_1_and_2_xrds_bad_delegate.xml +17 -0
- data/test/data/test_discover/openid_and_yadis.html +12 -0
- data/test/data/test_discover/openid_no_delegate.html +10 -0
- data/test/data/test_discover/yadis_0entries.xml +12 -0
- data/test/data/test_discover/yadis_2_bad_local_id.xml +15 -0
- data/test/data/test_discover/yadis_2entries_delegate.xml +22 -0
- data/test/data/test_discover/yadis_2entries_idp.xml +21 -0
- data/test/data/test_discover/yadis_another_delegate.xml +14 -0
- data/test/data/test_discover/yadis_idp.xml +12 -0
- data/test/data/test_discover/yadis_idp_delegate.xml +13 -0
- data/test/data/test_discover/yadis_no_delegate.xml +11 -0
- data/test/data/test_xrds/=j3h.2007.11.14.xrds +25 -0
- data/test/data/test_xrds/README +12 -0
- data/test/data/test_xrds/delegated-20060809-r1.xrds +34 -0
- data/test/data/test_xrds/delegated-20060809-r2.xrds +34 -0
- data/test/data/test_xrds/delegated-20060809.xrds +34 -0
- data/test/data/test_xrds/no-xrd.xml +7 -0
- data/test/data/test_xrds/not-xrds.xml +2 -0
- data/test/data/test_xrds/prefixsometimes.xrds +34 -0
- data/test/data/test_xrds/ref.xrds +109 -0
- data/test/data/test_xrds/sometimesprefix.xrds +34 -0
- data/test/data/test_xrds/spoof1.xrds +25 -0
- data/test/data/test_xrds/spoof2.xrds +25 -0
- data/test/data/test_xrds/spoof3.xrds +37 -0
- data/test/data/test_xrds/status222.xrds +9 -0
- data/test/data/test_xrds/subsegments.xrds +58 -0
- data/test/data/test_xrds/valid-populated-xrds.xml +39 -0
- data/test/data/trustroot.txt +153 -0
- data/test/data/urinorm.txt +79 -0
- data/test/discoverdata.rb +131 -0
- data/test/test_accept.rb +170 -0
- data/test/test_association.rb +266 -0
- data/test/test_associationmanager.rb +917 -0
- data/test/test_ax.rb +648 -0
- data/test/test_checkid_request.rb +294 -0
- data/test/test_consumer.rb +257 -0
- data/test/test_cryptutil.rb +119 -0
- data/test/test_dh.rb +86 -0
- data/test/test_discover.rb +838 -0
- data/test/test_discovery_manager.rb +262 -0
- data/test/test_extension.rb +46 -0
- data/test/test_extras.rb +35 -0
- data/test/test_fetchers.rb +538 -0
- data/test/test_filters.rb +270 -0
- data/test/test_idres.rb +963 -0
- data/test/test_kvform.rb +165 -0
- data/test/test_kvpost.rb +65 -0
- data/test/test_linkparse.rb +101 -0
- data/test/test_message.rb +1116 -0
- data/test/test_nonce.rb +89 -0
- data/test/test_oauth.rb +175 -0
- data/test/test_openid_yadis.rb +178 -0
- data/test/test_pape.rb +247 -0
- data/test/test_parsehtml.rb +80 -0
- data/test/test_responses.rb +63 -0
- data/test/test_server.rb +2457 -0
- data/test/test_sreg.rb +479 -0
- data/test/test_stores.rb +298 -0
- data/test/test_trustroot.rb +113 -0
- data/test/test_urinorm.rb +35 -0
- data/test/test_util.rb +145 -0
- data/test/test_xrds.rb +169 -0
- data/test/test_xri.rb +48 -0
- data/test/test_xrires.rb +63 -0
- data/test/test_yadis_discovery.rb +220 -0
- data/test/testutil.rb +127 -0
- data/test/util.rb +53 -0
- metadata +316 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
equiv
|
|
2
|
+
Status: 200 OK
|
|
3
|
+
Content-Type: text/html
|
|
4
|
+
|
|
5
|
+
<html>
|
|
6
|
+
<head>
|
|
7
|
+
<meta http-equiv="YADIS_HEADER" content="URL_BASE/xrds">
|
|
8
|
+
<title>Joe Schmoe's Homepage</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<h1>Joe Schmoe's Homepage</h1>
|
|
12
|
+
<p>Blah blah blah blah blah blah blah</p>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
15
|
+
|
|
16
|
+
header
|
|
17
|
+
Status: 200 OK
|
|
18
|
+
Content-Type: text/html
|
|
19
|
+
YADIS_HEADER: URL_BASE/xrds
|
|
20
|
+
|
|
21
|
+
<html>
|
|
22
|
+
<head>
|
|
23
|
+
<title>Joe Schmoe's Homepage</title>
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<h1>Joe Schmoe's Homepage</h1>
|
|
27
|
+
<p>Blah blah blah blah blah blah blah</p>
|
|
28
|
+
</body>
|
|
29
|
+
|
|
30
|
+
xrds
|
|
31
|
+
Status: 200 OK
|
|
32
|
+
Content-Type: application/xrds+xml
|
|
33
|
+
|
|
34
|
+
<XRDS Content>
|
|
35
|
+
|
|
36
|
+
xrds_ctparam
|
|
37
|
+
Status: 200 OK
|
|
38
|
+
Content-Type: application/xrds+xml; charset=UTF8
|
|
39
|
+
|
|
40
|
+
<XRDS Content>
|
|
41
|
+
|
|
42
|
+
xrds_ctcase
|
|
43
|
+
Status: 200 OK
|
|
44
|
+
Content-Type: appliCATION/XRDS+xml
|
|
45
|
+
|
|
46
|
+
<XRDS Content>
|
|
47
|
+
|
|
48
|
+
xrds_html
|
|
49
|
+
Status: 200 OK
|
|
50
|
+
Content-Type: text/html
|
|
51
|
+
|
|
52
|
+
<XRDS Content>
|
|
53
|
+
|
|
54
|
+
redir_equiv
|
|
55
|
+
Status: 302 Found
|
|
56
|
+
Content-Type: text/plain
|
|
57
|
+
Location: URL_BASE/equiv
|
|
58
|
+
|
|
59
|
+
You are presently being redirected.
|
|
60
|
+
|
|
61
|
+
redir_header
|
|
62
|
+
Status: 302 Found
|
|
63
|
+
Content-Type: text/plain
|
|
64
|
+
Location: URL_BASE/header
|
|
65
|
+
|
|
66
|
+
You are presently being redirected.
|
|
67
|
+
|
|
68
|
+
redir_xrds
|
|
69
|
+
Status: 302 Found
|
|
70
|
+
Content-Type: application/xrds+xml
|
|
71
|
+
Location: URL_BASE/xrds
|
|
72
|
+
|
|
73
|
+
<XRDS Content>
|
|
74
|
+
|
|
75
|
+
redir_xrds_html
|
|
76
|
+
Status: 302 Found
|
|
77
|
+
Content-Type: text/plain
|
|
78
|
+
Location: URL_BASE/xrds_html
|
|
79
|
+
|
|
80
|
+
You are presently being redirected.
|
|
81
|
+
|
|
82
|
+
redir_redir_equiv
|
|
83
|
+
Status: 302 Found
|
|
84
|
+
Content-Type: text/plain
|
|
85
|
+
Location: URL_BASE/redir_equiv
|
|
86
|
+
|
|
87
|
+
You are presently being redirected.
|
|
88
|
+
|
|
89
|
+
lowercase_header
|
|
90
|
+
Status: 200 OK
|
|
91
|
+
Content-Type: text/html
|
|
92
|
+
x-xrds-location: URL_BASE/xrds
|
|
93
|
+
|
|
94
|
+
<html>
|
|
95
|
+
<head>
|
|
96
|
+
<title>Joe Schmoe's Homepage</title>
|
|
97
|
+
</head>
|
|
98
|
+
<body>
|
|
99
|
+
<h1>Joe Schmoe's Homepage</h1>
|
|
100
|
+
<p>Blah blah blah blah blah blah blah</p>
|
|
101
|
+
</body>
|
|
102
|
+
|
|
103
|
+
404_server_response
|
|
104
|
+
Status: 404 Not Found
|
|
105
|
+
|
|
106
|
+
EEk!
|
|
107
|
+
|
|
108
|
+
500_server_response
|
|
109
|
+
Status: 500 Server error
|
|
110
|
+
|
|
111
|
+
EEk!
|
|
112
|
+
|
|
113
|
+
201_server_response
|
|
114
|
+
Status: 201 Created
|
|
115
|
+
|
|
116
|
+
EEk!
|
|
117
|
+
|
|
118
|
+
404_with_header
|
|
119
|
+
Status: 404 Not Found
|
|
120
|
+
YADIS_HEADER: URL_BASE/xrds
|
|
121
|
+
|
|
122
|
+
EEk!
|
|
123
|
+
|
|
124
|
+
404_with_meta
|
|
125
|
+
Status: 404 Not Found
|
|
126
|
+
Content-Type: text/html
|
|
127
|
+
|
|
128
|
+
<html>
|
|
129
|
+
<head>
|
|
130
|
+
<meta http-equiv="YADIS_HEADER" content="URL_BASE/xrds">
|
|
131
|
+
<title>Joe Schmoe's Homepage</title>
|
|
132
|
+
</head>
|
|
133
|
+
<body>
|
|
134
|
+
<h1>Joe Schmoe's Homepage</h1>
|
|
135
|
+
<p>Blah blah blah blah blah blah blah</p>
|
|
136
|
+
</body>
|
|
137
|
+
</html>
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
found
|
|
2
|
+
<!-- minimal well-formed success case -->
|
|
3
|
+
<html><head><meta http-equiv="X-XRDS-Location" content="found"></head></html>
|
|
4
|
+
|
|
5
|
+
found
|
|
6
|
+
<!-- minimal well-formed success case, xhtml closing, whitespace -->
|
|
7
|
+
<html><head><meta http-equiv="X-XRDS-Location" content="found" /></head></html>
|
|
8
|
+
|
|
9
|
+
found
|
|
10
|
+
<!-- minimal well-formed success case, xhtml closing, no whitespace -->
|
|
11
|
+
<html><head><meta http-equiv="X-XRDS-Location" content="found"/></head></html>
|
|
12
|
+
|
|
13
|
+
found
|
|
14
|
+
<!-- minimal success case -->
|
|
15
|
+
<html><head><meta http-equiv="X-XRDS-Location" content="found">
|
|
16
|
+
|
|
17
|
+
found
|
|
18
|
+
<!-- ignore bogus top-level tags -->
|
|
19
|
+
</porky><html><head><meta http-equiv="X-XRDS-Location" content="found">
|
|
20
|
+
|
|
21
|
+
found
|
|
22
|
+
<!-- Case folding for header name -->
|
|
23
|
+
<html><head><meta http-equiv="x-xrds-location" content="found">
|
|
24
|
+
|
|
25
|
+
found
|
|
26
|
+
<!-- missing <html> tag -->
|
|
27
|
+
<head><meta http-equiv="X-XRDS-Location" content="found">
|
|
28
|
+
|
|
29
|
+
found
|
|
30
|
+
<!-- javascript in head -->
|
|
31
|
+
<html><head><script type="text/javascript">document.write("<body>");</script><META http-equiv="X-XRDS-Location" content="found">
|
|
32
|
+
|
|
33
|
+
None
|
|
34
|
+
<!-- no close script tag in head -->
|
|
35
|
+
<html><head><script type="text/javascript">document.write("<body>");<META http-equiv="X-XRDS-Location" content="found">
|
|
36
|
+
|
|
37
|
+
found
|
|
38
|
+
<!-- case folding for tag names -->
|
|
39
|
+
<html><head><META http-equiv="X-XRDS-Location" content="found">
|
|
40
|
+
|
|
41
|
+
found
|
|
42
|
+
<!-- Stop after first one found -->
|
|
43
|
+
<html><head>
|
|
44
|
+
<meta http-equiv="x-xrds-location" content="found">
|
|
45
|
+
<meta http-equiv="x-xrds-location" content="not-found">
|
|
46
|
+
|
|
47
|
+
&
|
|
48
|
+
<!-- standard entity -->
|
|
49
|
+
<head><meta http-equiv="X-XRDS-Location" content="&">
|
|
50
|
+
|
|
51
|
+
found
|
|
52
|
+
<!-- hex entity -->
|
|
53
|
+
<html>
|
|
54
|
+
<head>
|
|
55
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
56
|
+
</head>
|
|
57
|
+
</html>
|
|
58
|
+
|
|
59
|
+
found
|
|
60
|
+
<!-- decimal entity -->
|
|
61
|
+
<html>
|
|
62
|
+
<head>
|
|
63
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
64
|
+
</head>
|
|
65
|
+
</html>
|
|
66
|
+
|
|
67
|
+
/
|
|
68
|
+
<!-- hex entity -->
|
|
69
|
+
<html>
|
|
70
|
+
<head>
|
|
71
|
+
<meta http-equiv="X-XRDS-Location" content="/">
|
|
72
|
+
</head>
|
|
73
|
+
</html>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
<!-- empty string -->
|
|
77
|
+
<html><head><meta http-equiv="X-XRDS-Location" content="">
|
|
78
|
+
|
|
79
|
+
EOF
|
|
80
|
+
<!-- No markup, except this comment -->
|
|
81
|
+
|
|
82
|
+
None
|
|
83
|
+
<!-- No meta, just standard HTML -->
|
|
84
|
+
<html>
|
|
85
|
+
<head>
|
|
86
|
+
<title>A boring document</title>
|
|
87
|
+
</head>
|
|
88
|
+
<body>
|
|
89
|
+
<h1>A boring document</h1>
|
|
90
|
+
<p>There's really nothing interesting about this</p>
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|
|
93
|
+
|
|
94
|
+
EOF
|
|
95
|
+
<!-- No <html> or <head> -->
|
|
96
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
97
|
+
|
|
98
|
+
EOF
|
|
99
|
+
<!-- No <head> tag -->
|
|
100
|
+
<html><meta http-equiv="X-XRDS-Location" content="found">
|
|
101
|
+
|
|
102
|
+
None
|
|
103
|
+
<!-- No <html> or <head> and a <body> -->
|
|
104
|
+
<body><meta http-equiv="X-XRDS-Location" content="found">
|
|
105
|
+
|
|
106
|
+
None
|
|
107
|
+
<!-- <head> and <html> reversed -->
|
|
108
|
+
<head><html><meta http-equiv="X-XRDS-Location" content="found">
|
|
109
|
+
|
|
110
|
+
None
|
|
111
|
+
<!-- <meta> is inside of <body> -->
|
|
112
|
+
<html><head><body><meta http-equiv="X-XRDS-Location" content="found">
|
|
113
|
+
|
|
114
|
+
None
|
|
115
|
+
<!-- <meta> is inside comment -->
|
|
116
|
+
<html>
|
|
117
|
+
<head>
|
|
118
|
+
<!--<meta http-equiv="X-XRDS-Location" content="found">-->
|
|
119
|
+
</head>
|
|
120
|
+
</html>
|
|
121
|
+
|
|
122
|
+
None
|
|
123
|
+
<!-- <meta> is inside of <body> -->
|
|
124
|
+
<html>
|
|
125
|
+
<head>
|
|
126
|
+
<title>Someone's blog</title>
|
|
127
|
+
</head>
|
|
128
|
+
<body>
|
|
129
|
+
<h1>My blog</h1>
|
|
130
|
+
<p>This is my blog</p>
|
|
131
|
+
<h2>Comments</h2>
|
|
132
|
+
<p><meta http-equiv="X-XRDS-Location" content="found"></p>
|
|
133
|
+
</body>
|
|
134
|
+
</html>
|
|
135
|
+
|
|
136
|
+
None
|
|
137
|
+
<!-- short head tag -->
|
|
138
|
+
<html><head/>
|
|
139
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
140
|
+
|
|
141
|
+
None
|
|
142
|
+
<!-- <body> comes first -->
|
|
143
|
+
<body><html><head>
|
|
144
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
145
|
+
|
|
146
|
+
None
|
|
147
|
+
<!-- </body> comes first -->
|
|
148
|
+
</body><html><head>
|
|
149
|
+
<meta http-equiv="X-XRDS-Location" content="found">
|
|
150
|
+
|
|
151
|
+
None
|
|
152
|
+
<!bad processing instruction!>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<head>
|
|
3
|
+
<title />
|
|
4
|
+
|
|
5
|
+
<link rel="openid.server"
|
|
6
|
+
href="http://www.myopenid.com/server" />
|
|
7
|
+
<link rel="openid.delegate"
|
|
8
|
+
href="http://user.myopenid.com/" />
|
|
9
|
+
<link rel="openid2.local_id"
|
|
10
|
+
href="http://user.myopenid.com/" />
|
|
11
|
+
<link rel="openid2.provider"
|
|
12
|
+
href="http://www.myopenid.com/server" />
|
|
13
|
+
<meta http-equiv="X-XRDS-Location"
|
|
14
|
+
http://www.myopenid.com/xrds?username=user.myopenid.com" />
|
|
15
|
+
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
</body>
|
|
19
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Identity Page for Smoker</title>
|
|
5
|
+
<link rel="openid.server" href="http://www.myopenid.com/server" />
|
|
6
|
+
<link rel="openid.delegate" href="http://smoker.myopenid.com/" />
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<p>foo</p>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Identity Page for Smoker</title>
|
|
5
|
+
<link rel="openid2.provider" href="http://www.myopenid.com/server" />
|
|
6
|
+
<link rel="openid2.local_id" href="http://smoker.myopenid.com/" />
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<p>foo</p>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
>
|
|
5
|
+
<XRD>
|
|
6
|
+
<Service priority="10">
|
|
7
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
8
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
9
|
+
<LocalID>http://smoker.myopenid.com/</LocalID>
|
|
10
|
+
</Service>
|
|
11
|
+
</XRD>
|
|
12
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
>
|
|
5
|
+
<XRD>
|
|
6
|
+
<Service priority="10">
|
|
7
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
8
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
9
|
+
</Service>
|
|
10
|
+
</XRD>
|
|
11
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Identity Page for Smoker</title>
|
|
5
|
+
<link rel="openid2.provider openid.server" href="http://www.myopenid.com/server" />
|
|
6
|
+
<link rel="openid2.local_id openid.delegate" href="http://smoker.myopenid.com/" />
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<p>foo</p>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
|
|
8
|
+
<Service priority="10">
|
|
9
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
10
|
+
<Type>http://openid.net/signon/1.1</Type>
|
|
11
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
12
|
+
<LocalID>http://smoker.myopenid.com/</LocalID>
|
|
13
|
+
<openid:Delegate>http://smoker.myopenid.com/</openid:Delegate>
|
|
14
|
+
</Service>
|
|
15
|
+
</XRD>
|
|
16
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
|
|
8
|
+
<Service priority="10">
|
|
9
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
10
|
+
<Type>http://openid.net/signon/1.0</Type>
|
|
11
|
+
<Type>http://openid.net/signon/1.1</Type>
|
|
12
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
13
|
+
<LocalID>http://smoker.myopenid.com/</LocalID>
|
|
14
|
+
<openid:Delegate>http://localid.mismatch.invalid/</openid:Delegate>
|
|
15
|
+
</Service>
|
|
16
|
+
</XRD>
|
|
17
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Identity Page for Smoker</title>
|
|
5
|
+
<meta http-equiv="X-XRDS-Location" content="http://someuser.unittest/xrds" />
|
|
6
|
+
<link rel="openid.server" href="http://www.myopenid.com/server" />
|
|
7
|
+
<link rel="openid.delegate" href="http://smoker.myopenid.com/" />
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<p>foo</p>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Identity Page for Smoker</title>
|
|
5
|
+
<link rel="openid.server" href="http://www.myopenid.com/server" />
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
<p>foo</p>
|
|
9
|
+
</body>
|
|
10
|
+
</html>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
<Service >
|
|
8
|
+
<Type>http://is-not-openid.unittest/</Type>
|
|
9
|
+
<URI>http://noffing.unittest./</URI>
|
|
10
|
+
</Service>
|
|
11
|
+
</XRD>
|
|
12
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
|
|
8
|
+
<Service priority="10">
|
|
9
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
10
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
11
|
+
<LocalID>http://smoker.myopenid.com/</LocalID>
|
|
12
|
+
<LocalID>http://localid.mismatch.invalid/</LocalID>
|
|
13
|
+
</Service>
|
|
14
|
+
</XRD>
|
|
15
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
<CanonicalID>=!1000</CanonicalID>
|
|
8
|
+
|
|
9
|
+
<Service priority="10">
|
|
10
|
+
<Type>http://openid.net/signon/1.0</Type>
|
|
11
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
12
|
+
<openid:Delegate>http://smoker.myopenid.com/</openid:Delegate>
|
|
13
|
+
</Service>
|
|
14
|
+
|
|
15
|
+
<Service priority="20">
|
|
16
|
+
<Type>http://openid.net/signon/1.0</Type>
|
|
17
|
+
<URI>http://www.livejournal.com/openid/server.bml</URI>
|
|
18
|
+
<openid:Delegate>http://frank.livejournal.com/</openid:Delegate>
|
|
19
|
+
</Service>
|
|
20
|
+
|
|
21
|
+
</XRD>
|
|
22
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
<CanonicalID>=!1000</CanonicalID>
|
|
8
|
+
|
|
9
|
+
<Service priority="10">
|
|
10
|
+
<Type>http://specs.openid.net/auth/2.0/signon</Type>
|
|
11
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
12
|
+
<openid:LocalID>http://smoker.myopenid.com/</openid:LocalID>
|
|
13
|
+
</Service>
|
|
14
|
+
|
|
15
|
+
<Service priority="20">
|
|
16
|
+
<Type>http://specs.openid.net/auth/2.0/server</Type>
|
|
17
|
+
<URI>http://www.livejournal.com/openid/server.bml</URI>
|
|
18
|
+
</Service>
|
|
19
|
+
|
|
20
|
+
</XRD>
|
|
21
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
|
|
8
|
+
<Service priority="10">
|
|
9
|
+
<Type>http://openid.net/signon/1.0</Type>
|
|
10
|
+
<URI>http://vroom.unittest/server</URI>
|
|
11
|
+
<openid:Delegate>http://smoker.myopenid.com/</openid:Delegate>
|
|
12
|
+
</Service>
|
|
13
|
+
</XRD>
|
|
14
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
<Service priority="10">
|
|
8
|
+
<Type>http://specs.openid.net/auth/2.0/server</Type>
|
|
9
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
10
|
+
</Service>
|
|
11
|
+
</XRD>
|
|
12
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
xmlns:openid="http://openid.net/xmlns/1.0"
|
|
5
|
+
>
|
|
6
|
+
<XRD>
|
|
7
|
+
<Service>
|
|
8
|
+
<Type>http://specs.openid.net/auth/2.0/server</Type>
|
|
9
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
10
|
+
<openid:Delegate>http://smoker.myopenid.com/</openid:Delegate>
|
|
11
|
+
</Service>
|
|
12
|
+
</XRD>
|
|
13
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xrds:XRDS xmlns:xrds="xri://$xrds"
|
|
3
|
+
xmlns="xri://$xrd*($v*2.0)"
|
|
4
|
+
>
|
|
5
|
+
<XRD>
|
|
6
|
+
<Service priority="10">
|
|
7
|
+
<Type>http://openid.net/signon/1.0</Type>
|
|
8
|
+
<URI>http://www.myopenid.com/server</URI>
|
|
9
|
+
</Service>
|
|
10
|
+
</XRD>
|
|
11
|
+
</xrds:XRDS>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<XRDS ref="xri://=j3h" xmlns="xri://$xrds">
|
|
3
|
+
<XRD xmlns="xri://$xrd*($v*2.0)">
|
|
4
|
+
<Query>*j3h</Query>
|
|
5
|
+
<Status code="100"/>
|
|
6
|
+
<Expires>2007-11-15T01:35:07.000Z</Expires>
|
|
7
|
+
<ProviderID>xri://=</ProviderID>
|
|
8
|
+
<LocalID priority="10">!378C.2F61.25D6.F7EB</LocalID>
|
|
9
|
+
<CanonicalID priority="10">=!378C.2F61.25D6.F7EB</CanonicalID>
|
|
10
|
+
<Service priority="10">
|
|
11
|
+
<Type select="true">http://openid.net/signon/1.0</Type>
|
|
12
|
+
<ProviderID/>
|
|
13
|
+
<URI append="qxri" priority="2">http://2idi.com/openid/</URI>
|
|
14
|
+
<URI append="qxri" priority="1">https://2idi.com/openid/</URI>
|
|
15
|
+
</Service>
|
|
16
|
+
<Service priority="10">
|
|
17
|
+
<Type select="true">xri://+i-service*(+contact)*($v*1.0)</Type>
|
|
18
|
+
<Type match="default"/>
|
|
19
|
+
<ProviderID/>
|
|
20
|
+
<Path select="true">(+contact)</Path>
|
|
21
|
+
<Path match="null"/>
|
|
22
|
+
<URI append="qxri" priority="1">http://2idi.com/contact/</URI>
|
|
23
|
+
</Service>
|
|
24
|
+
</XRD>
|
|
25
|
+
</XRDS>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
delegated-20060809.xrds - results from proxy.xri.net, determined by
|
|
2
|
+
Drummond and Kevin to be incorrect.
|
|
3
|
+
delegated-20060809-r1.xrds - Drummond's 1st correction
|
|
4
|
+
delegated-20060809-r2.xrds - Drummond's 2nd correction
|
|
5
|
+
|
|
6
|
+
spoofs: keturn's (=!E4)'s attempts to log in with Drummond's i-number (=!D2)
|
|
7
|
+
spoof1.xrds
|
|
8
|
+
spoof2.xrds
|
|
9
|
+
spoof3.xrds - attempt to steal @!C0!D2 by having "at least one" CanonicalID
|
|
10
|
+
match the $res service ProviderID.
|
|
11
|
+
|
|
12
|
+
ref.xrds - resolving @ootao*test.ref, which refers to a neustar XRI.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<XRDS ref="xri://@ootao*test1" xmlns="xri://$xrds">
|
|
3
|
+
<XRD xmlns="xri://$xrd*($v*2.0)">
|
|
4
|
+
<Query>*ootao</Query>
|
|
5
|
+
<Status code="100"/>
|
|
6
|
+
<Expires>2006-08-09T22:07:13.000Z</Expires>
|
|
7
|
+
<ProviderID>xri://@</ProviderID>
|
|
8
|
+
<LocalID priority="10">!5BAD.2AA.3C72.AF46</LocalID>
|
|
9
|
+
<CanonicalID priority="10">@!5BAD.2AA.3C72.AF46</CanonicalID>
|
|
10
|
+
<Service priority="10">
|
|
11
|
+
<Type>xri://$res*auth*($v*2.0)</Type>
|
|
12
|
+
<ProviderID>xri://!!1003</ProviderID>
|
|
13
|
+
<MediaType>application/xrds+xml;trust=none</MediaType>
|
|
14
|
+
<URI priority="10">http://resolve.ezibroker.net/resolve/@ootao/</URI>
|
|
15
|
+
</Service>
|
|
16
|
+
<Service priority="10">
|
|
17
|
+
<Type select="true">http://openid.net/signon/1.0</Type>
|
|
18
|
+
<ProviderID/>
|
|
19
|
+
<URI append="qxri" priority="1">https://linksafe.ezibroker.net/server/</URI>
|
|
20
|
+
</Service>
|
|
21
|
+
</XRD>
|
|
22
|
+
<XRD xmlns="xri://$xrd*($v*2.0)">
|
|
23
|
+
<Query>*test1</Query>
|
|
24
|
+
<Status code="100">SUCCESS</Status>
|
|
25
|
+
<ProviderID>xri://!!1003</ProviderID>
|
|
26
|
+
<LocalID>!0000.0000.3B9A.CA01</LocalID>
|
|
27
|
+
<CanonicalID>@!5BAD.2AA.3C72.AF46!0000.0000.3B9A.CA01</CanonicalID>
|
|
28
|
+
<Service>
|
|
29
|
+
<Type select="true">http://openid.net/signon/1.0</Type>
|
|
30
|
+
<ProviderID/>
|
|
31
|
+
<URI append="qxri" priority="1">https://linksafe.ezibroker.net/server/</URI>
|
|
32
|
+
</Service>
|
|
33
|
+
</XRD>
|
|
34
|
+
</XRDS>
|