Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UNIX socket TPM connection support #273

Merged
merged 7 commits into from
Jun 26, 2023

Update tpm/tpm.go

ca29d42
Select commit
Failed to load commit list.
Merged

Add UNIX socket TPM connection support #273

Update tpm/tpm.go
ca29d42
Select commit
Failed to load commit list.
Codecov / codecov/patch failed Jun 26, 2023 in 0s

31.91% of diff hit (target 84.62%)

View this Pull Request on Codecov

31.91% of diff hit (target 84.62%)

Annotations

Check warning on line 10 in tpm/internal/close/close.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/close/close.go#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 19 in tpm/internal/close/close_others.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/close/close_others.go#L15-L19

Added lines #L15 - L19 were not covered by tests

Check warning on line 25 in tpm/internal/close/close_others.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/close/close_others.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 14 in tpm/internal/socket/socket.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/socket/socket.go#L13-L14

Added lines #L13 - L14 were not covered by tests

Check warning on line 22 in tpm/internal/socket/socket.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/socket/socket.go#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 24 in tpm/internal/socket/socket_others.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/internal/socket/socket_others.go#L13-L24

Added lines #L13 - L24 were not covered by tests

Check warning on line 15 in tpm/simulator/simulator_disabled.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/simulator/simulator_disabled.go#L14-L15

Added lines #L14 - L15 were not covered by tests

Check warning on line 19 in tpm/simulator/simulator_disabled.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/simulator/simulator_disabled.go#L19

Added line #L19 was not covered by tests

Check warning on line 38 in tpm/simulator/simulator_enabled.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/simulator/simulator_enabled.go#L23-L38

Added lines #L23 - L38 were not covered by tests

Check warning on line 47 in tpm/simulator/simulator_enabled.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/simulator/simulator_enabled.go#L45-L47

Added lines #L45 - L47 were not covered by tests

Check warning on line 60 in tpm/simulator/simulator_enabled.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/simulator/simulator_enabled.go#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 72 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 91 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L89-L91

Added lines #L89 - L91 were not covered by tests

Check warning on line 108 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L107-L108

Added lines #L107 - L108 were not covered by tests

Check warning on line 127 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L126-L127

Added lines #L126 - L127 were not covered by tests

Check warning on line 168 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L167-L168

Added lines #L167 - L168 were not covered by tests

Check warning on line 215 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L210-L215

Added lines #L210 - L215 were not covered by tests

Check warning on line 223 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L222-L223

Added lines #L222 - L223 were not covered by tests

Check warning on line 232 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L226-L232

Added lines #L226 - L232 were not covered by tests

Check warning on line 249 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L244-L249

Added lines #L244 - L249 were not covered by tests

Check warning on line 285 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L284-L285

Added lines #L284 - L285 were not covered by tests

Check warning on line 295 in tpm/tpm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tpm/tpm.go#L293-L295

Added lines #L293 - L295 were not covered by tests