Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
a5081b55
Commit
a5081b55
authored
Oct 22, 2009
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go back to using uuids until URNs in certificates are more stable.
parent
929209f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
protogeni/lib/GeniCredential.pm.in
protogeni/lib/GeniCredential.pm.in
+2
-2
No files found.
protogeni/lib/GeniCredential.pm.in
View file @
a5081b55
...
...
@@ -376,14 +376,14 @@ sub Sign($$)
return
-
1
;
}
my
$
target_cert
=
$
self
->
target_cert
()->
cert
();
my
$
target_urn
=
$
self
->
target_u
ri
();
my
$
target_urn
=
$
self
->
target_u
uid
();
if
(
!defined($self->owner_cert())) {
print
STDERR
"No owner certificate attached to $self
\n
"
;
return
-
1
;
}
my
$
owner_cert
=
$
self
->
owner_cert
()->
cert
();
my
$
owner_urn
=
$
self
->
owner_u
ri
();
my
$
owner_urn
=
$
self
->
owner_u
uid
();
#
Credential
expiration
:
hard
-
code
to
24
hours
from
now
.
my
@
expt
=
gmtime
(
time
()
+
24
*
60
*
60
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment