Here is the JPS translation of the Tanak, Psalm 24:7-10. I added Hebrew words om [].
7 O gates, lift up your heads!
Up high, you everlasting doors,
so the King of glory may come in!
8 Who is the King of glory?—
the LORD [יְ֭הוָה], mighty and valiant,
the LORD [יְ֝הוָ֗ה], valiant in battle.
9 O gates, lift up your heads!
Lift them up, you everlasting doors,
so the King of glory may come in!
10 Who is the King of glory?—
the LORD [יְהוָ֥ה] of hosts,
He is the King of glory!
Thus, the King of glory in Psalm 24:7-10 is unmistakably God, with LORD translating the divine name.
Thus, Paul definitely referred to Jesus when he used the term crucified, and "Lord of glory" does seem to point back to Psalm 24:7-10.
7 But we impart a secret and hidden wisdom of God, which God decreed before the ages for our glory. 8 None of the rulers of this age understood this, for if they had, they would not have crucified the Lord of glory.
(1 Cor. 2:7–8, ESV)
Thus, is Paul calling Jesus God?
Note James also calls Jesus the Lord of glory.
My brothers, show no partiality as you hold the faith in our Lord Jesus Christ, the Lord of glory.
(James 2:1, ESV)
There isn't enough evidence to keep those who want to double the connection from doing so, but the evidence does point to Paul identifying Jesus Christ as God through the divine name.
Commentary
“The Lord of glory.”—So also in Jas. 2:1. This expression is not to be taken as equivalent to ‘glorious Lord,’ but, as in the analogous expressions, “Father of glory” (Eph. 1:17); “The God of glory” (Acts 7:2), “The Lord is the possessor of glory.” The genitive case used here in the Greek is the genitive of possession. “Lord of glory” is a title of Divinity. It means possessor of Divine excellence. “Who is the King of glory? The Lord of hosts, he is the King of glory” (Ps. 24:10; Acts 7:2; Jas. 2:1; Eph. 1:17). The person crucified, therefore, was a Divine person.
--
Lange, J. P., Schaff, P., Kling, C. F., & Poor, D. W. (2008). A commentary on the Holy Scriptures: 1 Corinthians (p. 58). Logos Bible Software.
“the Lord of glory” This phrase is used of YHWH in Acts 7:2; Eph. 1:17. A similar phrase is used of Jesus in James 2:1. This is another example of NT authors using a title of YHWH for Jesus and thereby asserting His equality with YHWH (cf. 2 Cor. 4:6).
--
Utley, R. J. (2002). Paul’s Letters to a Troubled Church: I and II Corinthians: Vol. Volume 6 (p. 35). Bible Lessons International.
Lord of glory is as august a statement as Paul will ever make in reference to Christ, assigning to him a predicate which Old Testament faith had reserved for God, for describing the “weight” [“glory,” Hebrew: kabod] of God’s appearance, experienced as honor, might, or brilliance).
--
Harrisville, R. A. (1987). I Corinthians (p. 52). Augsburg Publishing House.
P.S.
This seems to be the verse Paul quoted in 2:9. Surprising enough the Jewish translation is closer to Paul than Christian translations.
Such things had never been heard or noted.
No eye has seen [them], O God, but You,
Who act for those who trust in You.
(Isa. 64:3, JPS Tanakh)