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

"The specified digest type is invalid" when setting DataDigest and HeaderDigest #110

Open
mrdc opened this issue Sep 23, 2019 · 0 comments

Comments

@mrdc
Copy link

mrdc commented Sep 23, 2019

Hello,

I'm using iSCSIinitiator 1.0.0-beta6 on macOS 10.13.6. When I try to set DataDigest and HeaderDigest I get the error

The specified digest type is invalid

Both commands don't work in my case:

iscsictl modify target-config iqn.2000-01.xxxxx.xxxxxx -HeaderDigest CRC32C
iscsictl: No valid options have been specified.
iscsictl modify target-config iqn.2000-01.xxxxx.xxxxxx -DataDigest CRC32C
iscsictl: The specified digest type is invalid
iscsictl list target-config iqn.2000-01.xxxxx.xxxxxx
iqn.2000-01.xxxxx.xxxxxx <inactive, static>
	node-alias:
	auto-login: disabled
	persistent: yes
	Configuration:
		MaxConnections (1)
		ErrorRecoveryLevel (0)
		HeaderDigest (none)
		DataDigest (none)
	Authentication: CHAP
		CHAP-name XXXXXXXX
		CHAP-secret <specified>
	xxx.xxx.xxx.xxx <inactive, port 3260, interface default>

Have tried manually edit the config plist - no luck. With HeaderDigest&DataDigest set to off on a server I'm able to login. CRC32C, crc32c make no difference.
From Wiki:

$ iscsictl modify target-config -HeaderDigest
Supported digest values are none or crc32c. The data digest may be similarly set using:
$ iscsictl modify target-config -DataDigest

Similar issue #98 .

Any ideas how to fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant