Showing posts with label comsec. Show all posts
Showing posts with label comsec. Show all posts

Thursday, January 4, 2024

Comms Indiscipline In The Royal Navy

 


In 1993 Captain Barrie Kent RN (Retd) published Signal! A History of Signalling in the Royal Navy. It is one of my favourite books, a serious history interlaced with anecdotes varying from the poignant to the slightly scurrilous. Captain Kent was Head of RN 'Y' during the 1950s, but his book has much more to offer than cryptology in the RN. This is the first of two extracts from the book: they show how seriously the RN took comms discipline. The first is a story from 1931 about Lord Louis Mountbatten when he was Fleet Wireless Officer in the Mediterranean Sea and comes from Arthur McCulloch, a Telegraphist in 1931, but who retired eventually as a Lieutenant Commander.  

'Our transmissions were taped resulting in caustic signals to those not up to his high standard. One 'habit' Mountbatten deplored was the sending of cryptic private messages during the night watches: for example in Coventry we might receive 'INT KYE' from the operator in Bulldog, which meant 'request permission to close down for five minutes to make the cocoa?' If things were quiet the reply would be 'AF'. This procedure would be followed in turn by each ship on the destroyer frequency until all had made their kye. '

Drafted to the Royal Sovereign, McCulloch became a watchkeeper on Fleet Wave, a frequency believed to be monitored by Lord Louis.

At a conference for off-watch telegraphists in the Corradino canteen, Lord Louis said that since he had started monitoring, the efficiency of the fleet's communications had improved dramatically, but the making of private messages was to stop, "The sending of one single 'toot' on the key will constitute a private message and the culprit will be severely dealt with.'

That afternoon things were fairly quiet when McCulloch was handed a message to send to Curacao. Switching on the transmitter, he sent the signal, then reached behind his morse key to break the heavy duty switch; in the process he accidentally caught his elbow on the key, blasting out a loud 'toot' for all to hear!

'That was bad enough but the operator in Curacao forgot the forenoon's instructions and sent back a cheery 'toot toot'. With hardly a pause, out came a signal from the C-in-C

'Report name and rating of operator of the watch'.

'On the Saturday I felt I had better have a final run ashore, all sorts of dire punishments having been forecast by my messmates. While enjoying a few pints one of my pals saw a poster for the Flagship's Farewell Ball that evening; we decided to join in! The dance hall was packed with officers and men from every ship in the fleet, together with their ladies, and a great time was being had by all. Our chance to join in came with the announcement: "Take your partners for the Paul Jones."

'My third partner was obviously an officer's wife, she was a superb dancer and I said so. Just then Lord Louis danced by and gave her a big smile which she acknowledged with a discreet wave. "I see you know my Chief,” I said. "I ought to, "she replied, "I'm married to him!" "If you are one of his telegraphists" she went on, "you'll know he is furious with two of you for making 'toots' or something, In fact we've heard so much of these men that we've christened them 'Toots No. I, and 'Toots No. 2"'. I paused for a moment and then said "I'm afraid' I'm Toots No. I ", She stopped in the middle of the floor and held me at arm’s length, "I don't believe it -I'm actually dancing with 'Toots' himself! You must come and meet everyone."

'Having escorted her to her seat, I set off towards the bar. "McCulloch", Lord Louis' voice boomed behind me, "So, you're the culprit are you? What have you to say for yourself?" The ladies of his party caught up with us and Lord Louis introduced me. "Now, what have you to say for yourself?" I explained what had happened: "Bad luck really Sir, particularly coming on top of your lecture." Lady Edwina spoke up: "I'm sure he is telling the truth Dickie, don't be too hard on him," "Fortunately for you, young man, I'm familiar with the layout of the wireless gear and I can see how it could have happened. Perhaps I should give you the benefit of the doubt. I'll write to your Captain before he sees you, but remember to be more careful in future." I thanked him and shot off to tell my pals what had happened.

'In due course I found myself in front of the Captain. "Ah! I've had a letter about you. I see you had an interview with the FWO ashore and he recommends that I give you another chance. Case dismissed. Don't do it again!" Sad to say my oppo in Curacao was not so fortunate; his Commander had been at Jutland and blamed all telegraphists for allowing the German fleet to escape, so he got a month’s stoppage of leave.'

There is more to this story than meets the eye: the memory of Jutland; Lord Mountbatten's determination that RN signalling would be as good as it could be (I have written about this before (Sigint Historian: Ten avoidable problems which made the Royal Navy's encryption exploitable in 1939)); the sophistication of the RN monitoring process; and the way comms operators can undermine security without even realising that they are doing so.

Monday, December 18, 2023

Secure Speech and Insecure Speech


The story of the inadequacy of allied communications security (Comsec) at the beginning of the Second World War and its gradual improvement tends to focus on signals carrying textual messages, the transition to machine-based rather than book-based encryption systems, and eventually to on-line encipherment, enabling the 'BRUSA Circuit' which linked the UK and US, Australia, Canada, and communications centres serving major allied commands around the world on secure HF radio. It was always possible, though, to deny adversaries any chance of intercepting a message by not transmitting it on a channel accessible to them. For example, transatlantic cables, while theoretically tappable, weren't vulnerable in practice. That meant that the most sensitive material could be sent between the UK and the US without danger of enemy interception. The material would still be encrypted so that as few as possible of the people handling the traffic would see the content, but the authorities on both sides of the Atlantic could be confident that the material would not be seen. This was incredibly expensive – at busy periods a million dollars a month just to US cable companies – but uninterceptable.

But what about telephone calls? There were no secure speech systems before SIGSALY was first used in July 1943. Instead, scrambler systems were used to invert the voice signal. For calls within the UK this was a weaker analogue of the cables: scrambling would be enough to stop operators at exchanges from overhearing the content of a call even though they would know that a call was taking place. There was no doubt that the Germans would be able to 'deinvert' the signal and hear the clear speech if they had access to the telephone lines, but the UK authorities were confident that they hadn't.

The one problem was international telephony. There were no voice grade cables across the Atlantic until the mid-1950s, so international calls had to be made a) on HF which was interceptable and b) protected only by a scrambler, which under certain conditions was processable by German Sigint. Add to the mix the fact that the Prime Minister and the President valued personal contact, and weren't prepared only to communicate in writing, and the potential for significant breaches of security was very high indeed.

Three days after Mussolini was sacked by the King Victor Emmanuel, and after the Italian Government had begun secretly to negotiate armistice terms with the allies, President and Prime Minister had a conversation which led to such a breach. Here is the German report:

'At 0100 hours a radiotelephone conversation between Churchill and Roosevelt was intercepted. It concerned a proclamation by Gen Eisenhower and an imminent armistice with Italy.

Churchill: "We do not wish any armistice terms to be recommended by us until we are formally requested to do so."

Roosevelt: "That's right."

Then they discussed the matter of British prisoners of war in the hands of the Italians with regard to preventing their (the British POW's) removal to the "land of the Huns". Therefore, Churchill wanted to send a dispatch to the King of Italy. Roosevelt took it upon himself to address a statement of his own to "Emmanuel". "I don't quite know just how I'm going to do it."

This is clear proof that secret negotiations between the Anglo-Saxon powers and Italy have been under way.

The Deputy Chief of the Armed Forces Operations Staff made the following observation on this subject: There are some 60,000 British POW's in Italy. The proposals of the Commander in Chief South that these POW's be evacuated from Sardinia and southern Italy have not been acted upon. The Office of Foreign Affairs has been requested to consider the matter.'

This was almost certainly not the first the Germans knew of Italian plans to request an armistice, and, anyway, they had begun to send more troops to Italy as soon as Mussolini had been deposed, but this was, as the German report of the conversation said, clear proof that Italy was ready to change sides.

When I was GCHQ Historian I liked to show a copy of this report to visitors and ask what they thought. The reaction was always the same: the President and the Prime Minister shouldn't have been allowed to speak on insecure links that the Germans could intercept and process. If I then asked who had the authority to tell them that they weren't allowed to speak to each other there was less certainty. It would be a brave official who would attempt to stop them and few people thought that Churchill would meekly accept such advice. 'The King?' one visitor said.

My reaction – at least my first reaction – is different: why was there no secure means for Churchill and Roosevelt to speak to each other? Why did it take until July 1943 (ironically, a fortnight before this particular conversation took place) to develop and field a workable system and why did the UK have to adopt a US system?

I've written enough about the fact that GC&CS didn't take Comsec seriously enough to explain this in part, but I think it's also the case that securing voice communications, which has to be done on-line, was too difficult, and was therefore left to one side until the UK heard that the US was working on a solution. At just about the same time as Alan Turing visited the Bell laboratories and was briefed on the progress of SIGSALY Tommy Flowers was proposing an entirely new sort of machine, Colossus – what would eventually become the computer – to solve the biggest cryptanalytical problem facing GC&CS, and the GPO effort required to make that work probably precluded similar investment in secure speech as well.

The British answer was to copy the US system, but a project (BANGLE) which began in 1944 and which aimed to build 20 machines, based on SIGSALY but miniaturised sufficiently to be used from a 4-ton truck, was unsuccessful and was eventually abandoned in 1953. PICKWICK at the end of the 1950s was the first entirely British system.

Tuesday, November 21, 2023

A Valuable New Book on Second World War Communications Security

 


Anybody who reads this blog will know of my interest in cryptography: the opposite side of the coin to cryptanalysis. How poor UK cryptography was until the middle of the Second World War, and why that should be the case is something I have written about several times.

Today, however, I want to introduce a new book about communications security, mainly from the German side. How secure did the Germans think Enigma really was? Did they really believe that the allies were not breaking their encryption?

Dermot Turing's lates book, Enigma Traitors: The Struggle to Lose the Cipher War addresses these questions. He has trawled through the reports of interrogations of German cryptographers in the postwar TICOM series as well as material in German, American and British archives to come up with a wealth of evidence to support the contention that the potential vulnerability of Enigma to a concerted machine-based attack was well known to German cryptographers. 

Why they continued to use the machine is explained by a number of factors: the inability to envisage the amount of technological resource the US and UK would be prepared to put into the attack; how difficult it was to accept that a system in whose security you have invested so much might in fact not be so secure; and the sheer impossibility of replacing over 30,000 Enigma machines in wartime by something better.

Some of this ground has been trodden previously, and R A Ratcliff's Delusions of Intelligence is still the leading work looking at a strategic level at the consequences of allied and German cryptologic policy during the Second World War. This book is very much bottom up, and focuses on the individuals who were involved, their doubts, their blind spots and their successes.

It isn't only about German cryptography either. It looks at the the insecurity of the codes used by the Royal Navy, and examines in more detail than I have seen elsewhere the claims that the Germans may have read Typex. However, a more detailed look at allied - British, at least - will have to wait until more material has been released.

This isn't so much a review as a recommendation. There really hasn't been enough  research into Second World War communications security and this books brings together so much that either has been lying unread in various archives, or which has been cited for a particular purpose, outside of the context of communications security policy, that it would be odd not to recommend it to anybody interested in the subject.

There is a tendency to think that cybersecurity is a completely new discipline, something which has nothing to learn from the past. While that might be true technologically, the way that humans think about security, and the way in which they persuade themselves that things are secure in spite of evidence that they might not be, suggests that research into the history of security might shed as much light on today's circumstances as the history of  intelligence has. This book illuminates the present as well as the past.

Wednesday, September 6, 2023

Postwar Development of New Cipher Machines in the UK

Typex Mark 22

Although there were a few other encryption machines available to the UK at the end of the Second World War (eg Rockex, Morsex and 5 UCO), Typex and the CCM were the only general purpose off-line cypher machines available to the British Services. A new machine was needed, though it was clear that this would take some time – years – to be delivered and so modifications were made to the Mark II Typex (the model in most extensive use) and it was rechristened the Mark 22, or Mark 23 when adapted to take a CCM adaptor. 

At GC&CS Gordon Welchman had thought about a successor to Typex and had devised a rotor scrambler both to replace it and to be field-deployable. A key security feature was a daily change carried out using multi-point plugs, but in January 1945 Alan Turing's investigations showed this to be practically impossible. Welchman therefore decided to dispense with plugboards and found a solution, which he embodied in a paper of 6th March 1945, describing his final specifications for a 26-way scrambler - the RM 26.

A Canadian Army officer, Lt Col B de F "Pat" Bayly had developed Rockex, a one-time tape machine during the war, and thought a small and light machine embodying Welchman's scrambler could be made for use in the field.  In November 1945 he signed a five year contract with the Foreign Office to develop such a machine from his base in Canada. Bayly was told in 1946 that there was no idea of tying him down to a specification, because the whole object of the contract was to enable him to do some free research into the electromechanical application of the RM 26 principles.

In August 1947, a further letter requested a technical write up of progress: the Services were looking on RM 26 with interest, and had asked how Bayly might react to a US development engineer's being seconded to work with him. Bayly replied promptly, saying that he had completed his progress report, and reminded GCHQ that he had been told that this was a long-term project. As there were so many innovations and as considerable improvement in reliability would be necessary before this machine would be useful, Bayly did not believe the machine would be ready to show the Americans for another three or four years. (He also believed it would be a bad thing to attach an American to him, as the result might be the development of a purely American machine incorporating RM 26 ideas.) Further delays were incurred due to a serious illness suffered by Mrs Bayly.

After a couple of visits by British specialists to the Canada, Bayly was asked to send the model he had made to the United Kingdom no later than the end of August 1948, together with a detailed statement setting out what items in the project had been incorporated in the model, what had been found impracticable, and what had not been attempted. British experts concluded that the RM 26 proposals used unnecessarily over-complicated mechanical arrangements and that conventional engineering was preferred; and that the project was not worth while pursuing unless there was a specific operational need for a machine operating on RM 26 principles. The experimental model offered little prospect of providing a successful solution. As a result of this report the project was cancelled.

RM 26 is a good example of how not to organise a project. The aim was changed twice and lost clarity in the process; direction was faulty and supervision inadequate; resources were lacking for proper research and development; and both time and money were wasted through delay in investigating the practicability of the design. It probably didn't help either that the work was being carried out in Canada. In terms of development of a Typex replacement, these years of development had been wasted.

Meanwhile, a member of GCHQ had spoken about the need for a small, secure cipher machine with a tape output to the GPO, which produced a draft specification (codenamed Fruitex Minor) of a battery-operated machine, which the services accepted in December 1947 as a basis for design effort, though with the more prosaic name of DUP 1 (Development Unit Project No 1). This quickly ran into trouble. Its specification proved to be over-fussy: if a reliable machine were ever produced from it, it would be too delicate for use in forward areas, and it would be impossible to mass produce. A new specification was drawn up, and subject to security endorsement which was given in December 1949, was offered as a basis for contract discussions. Early in 1950, the Creed company agreed that if a contract were signed by September 1950, it would deliver 5 units a week starting in September 1951, and that 150 units would be delivered by March 1952. This was subject to the prototype passing service acceptance trials and the specification not changing subsequently. In the event, the trials overran, and the specification was developed into four variants, under the overall codename of Portex, delaying production further.

In exchange for an offer from the US for the UK to inspect a pinwheel machine designed for use by merchant shipping, the US authorities were sent the details of Portex. However, in May 1952, a US security evaluation for Portex was issued, saying that it was too weak for its use to be allowed. It turned out that the security approval given in December 1949 should not have been granted, and more design work was need to correct the errors. In the event it was only in September 1954 that production of Portex began, just under seven years from its being proposed.

The specification for a new Typex replacement specification (DUP 2) was only agreed in January 1949. The basic requirements were:

(a) it must be suitable for UK/US communications, which entailed a 26-way keyboard and scrambler;

(b) since many ships in the Fleet could only carry one machine, it would be required for intra-Naval communications, as well as for communications between the Navy and the other two Services;

(c) for Naval use size and weight should be kept to a minimum, and for ease of maintenance it should be mechanically and electrically simple;

(d) in the Army and RAF it should provide a satisfactory replacement for Typex 22, and it should be suitable for use at higher formation headquarters, where page printing and 32-way operation, needed for the rapid handling of traffic, were more important than limitations on size and weight.

It was clear that the small machine that could satisfy (a), (b), and (c), was a different machine from (d). Work on the former began under the codename Singlet, while a new specification was to be drawn up for the second (codenamed Pendragon). This work was delayed because the US was designing a new CCM and there weren't enough British specialists to work on the two projects simultaneously.

A prototype Singlet was completed in 1951 according to the 1949 specification, but the specification was modified in 1951 and a new prototype had to be developed. A prototype Pendragon had been built, but no subsequent modification was carried out. By October 1952, the Service requirements for Pendragon had changed sufficiently that it was decided that while design work would continue on both Singlet and Pendragon, for delivery as soon as possible, planning for a successor to both of them, with an expected delivery date of some five to seven years, should begin under the codename Copperfield.

In the event Singlet deliveries began in 1959, ten years after its first specification was issued, while the requirements for both Pendragon and Copperfield were subsumed into Alvis (which in its first incarnation had been codenamed Cheapex).

This piece complements other posts here about Sir Edward Bridges' thinking about whether the security mission belonged inside GCHQ. None of the machines being used at the end of the war had been designed by GC&CS (indeed, in the case of Typex, GC&CS input had been sedulously avoided) and the project management of RM 26, Portex and Singlet was so deficient, that it is probably not hard to see members of the Cypher Policy Board dreading the agenda item 'Machine Development' at their meetings.

There was a similar lack of development of machinery to support cryptanalysis at GCHQ during this period, though this was because the machines which were moved from Bletchley to Eastcote, and subsequently to Cheltenham, were believed adequate to the tasks at hand, and it was only the development of General Purpose Computers later in the 1950s that began to change ideas about how computers could be used.

There was a requirement for better cipher security after the Second World War, but, separate from the status of communications security in a primarily signals intelligence organisation, the Services' grip on Comsec was much greater by 1946 than it was on Sigint, and the Cypher Policy Board, which was where GCHQ and the Services met to collaborate on security, operated at too high a level to be able to provide the detailed oversight of development activity.

 

 

 

Wednesday, August 16, 2023

Where in the System should Comsec Belong?

I have written before about the parlous state of cryptography – communications security – before the Second World War, and until the point late in 1941 when Sir Edward Bridges, the Cabinet Secretary, began to interest himself in the subject. In January 1944 the Prime Minister accepted a proposal from the Chiefs of Staff Committee. It agreed that: 

1. A controlling authority should be established with responsibility for:

(a) Policy regarding the security of British encryption systems, including decisions on any new encryption devices and on any safeguards which might be necessary in their use.

(b) Ensuring due supervision of encryption by the Services and by Government Departments.

2. The Controlling authority should be known as the Cypher Policy Board (CPB), and its decisions should be regarded as having ministerial approval. It should consist of:

(a) The Director General of the Government Code and Cypher School ('C') – Chair

(b) A representative appointed by the Chiefs of Staff Committee

(c) The Cabinet Secretary.

3.  A new section of GC&CS should be established to deal with the security of British encryption (and of Allied systems in so far as British commands were concerned). This section would have as its head an Assistant Director of GC&CS known as CSA (Communications Security Adviser) who would also act as Secretary of the CPB and Chair of the existing JIC Cypher Security Committee would now be responsible to the CPB.

(Not included in this plan was 'wireless security'. MI5 was responsible for ensuring that the only people transmitting were those authorised to do so, and for monitoring their use of transmitting equipment; and for ensuring that the physical security of transmitters was maintained. It carried out those responsibilities without reference to GC&CS: indeed, for practical purposes their main direct relationship during the Second World War was in connection with the encryption systems used by German agents. The transfer of the Radio Security Service (RSS) to GCHQ after the war would eventually lead to an increased collaboration between GCHQ and MI5 on the intercept of illicit transmissions, but that is another story.)

This structure paralleled the structure for oversight and management of Sigint: a board of stakeholders (CPB for Comsec, LSIB for Sigint) oversaw the tasking and budget for the two parts of GCHQ, leaving Director GCHQ and CSA to operate within the framework they were assigned.

The structure for Comsec was maintained for some years but the services were unhappy about the pace of development of new encryption machines, and felt that the proliferation of committees (for example the Services Cypher Policy Committee, the Speech Secrecy Panel, the Cypher Machine Development Panel) was pulling the CPB away from its original terms of reference. The matter was formally discussed at a meeting of the Cypher Policy Board in October 1952. Sir Edward Bridges gave his opinion that it was inappropriate that a Sigint organisation – GCHQ – should be responsible for cryptographic policy. A review of the CPB was commissioned which eventually concluded that a different agency, independent of GCHQ, and to be known initially as the London Communications Security Agency, should be responsible for Comsec, under the oversight of a new London Communications Security Board. The Board was chaired by 'C' initially, and the Heads of the Signals and Intelligence Divisions of each of the Service ministries, as well as representatives of the Foreign Office and GCHQ, were members. From 1956 the Foreign Office nominated a Chairman (Pat Dean) common to the JIC, LSIB and LCSA. 'C' remained on the Board, and for the first time the Director General of MI5 (Sir Roger Hollis) was invited to be a member.

A new Director LCSA, Captain Stannard, was appointed in November 1957 and the LCSB Chair wrote a letter to Hollis in which he referred to a decision taken by the PUS of the Foreign Office, the Joint Permanent Secretary to the Treasury, and the Chiefs of Staff (to whom collectively the LCSB was responsible) that Director LCSA should be responsible under the general direction of the Director-General of the Security Service for day-to-day decisions on behalf of the LCSB. This would entail an amendment to the terms of reference of the Director LCSA who wrote a paper outlining the role of the LCSA and its relationship to DG MI5 and Director GCHQ.

These can be summarised as:

(a) Transmission Security: LCSA should advise on the transmission security of all communications and non-communications equipments and techniques and agree with the authorities concerned on the principles of protection.

(b) Cryptographic Security: LCSA should, in addition to its current work on the protection of communications against cryptanalysis, advise on the means of cryptographic security protection in all new forms of communications and develop the appropriate security techniques and equipments required.

(c) Requirements for Communications Electronics Security Equipment: LCSA should be responsible for:

(i) Evaluation and determination of requirements

(ii) Development of appropriate security techniques

(iii) Coordination of research, development, and production to meet new requirements.

(d) Consultation with the Security Service

The provision of advice on all aspects of Transmission and Cryptographic security should be the joint responsibility of the Security Service and LCSA. The former should advise on personal, documentary and other physical security measures to protect the equipment and related information, whilst the latter should advise on measures to protect the transmissions. LCSA should provide the Security Service with the technical guidance which it might require in this connection and incorporate Security Service advice in the communications-electronics measures which it recommended.

(In fact it proved impossible to define exactly the respective responsibilities of LCSA and the Security Service, and agreement on the advice to be given depended on the close personal relationships (which always existed) between the contact officers of the two departments.)

From these conclusions the new terms of reference were framed, and these included the following:

'The LCSA will be under the charge of a Director who, under the general direction of the Director General Security Service, will be responsible for day to day decisions on behalf of the LCSB … The Director LCSA will:

(a) consult Director General Security Service on all matters concerning general security policy

(b) consult Director Government Communications Headquarters on all appropriate aspects of

communications-electronics security and ensure that his advice and assessments are fully taken

into account.'

However sound all this may have been in theory, it had two serious weaknesses. First, DG MI5 had no understanding of communications, which largely determined Comsec policy; and second, the UK's Comsec release policy (ie which systems could be released to which foreign nations) was governed by Intelligence interests which were not the responsibility of DG MI5.

The LCSB approved the new terms of reference. However, in discussion it became clear that while 'Communications Electronics Security' meant the security of communications and non-communications transmissions, Hollis thought that it was simply some sort of elegant variation on 'Electronic Communications'.

Stannard also tried to change the status of the LCSB from Ministry of Defence Committee to Cabinet Committee. This proposal took the lid off a can of worms: LCSB (like LSIB) were each subordinate to Official Committee on Communications-Electronics which was set up in 1958. The terms of reference of neither the LCSB nor the LSIB referred to this supervision because they were in existed before the Official Committee had been established. Dean pointed out, however, that a proposal to transfer the LCSB from the Defence List to the Cabinet List might give rise to a review of the status of LCSA The Director LCSA was under the general direction of DG MI5 but his salary was paid by the Foreign Office. The arrangements for paying the staff of the Agency were complicated because they were those used for paying GCHQ staff and were hidden in the budgets of five other ministries. LSIB, in a closely related position to LSIC's was, for security reason, not listed as either a Cabinet or a Defence Committee. It was agreed at the meeting that no action would be taken, but that Dean would mention the anomaly of the Board's present status to the Cabinet Secretary and make sure that the service Chiefs were aware of the increasing civil functions of the Board and Agency. The Ministerial responsibility for the Agency was also discussed. This matter had not been covered when the terms of reference were drafted which placed the Director LCSA under the general direction of DG MI5. It was agreed at the meeting that it was important to make it clear whether the Home Secretary or the Foreign Secretary should be answerable to Parliament for the Agency. Dean suggested that representatives of the Security Service, LCSA, the Security Department of the Foreign Office, and GCHQ should meet and submit recommendations. In spite of lengthy discussions no change was either suggested or made in the Ministerial responsibility for LCSA: the lid was put back on the can before any of the worms could escape. It seems clear that the decision to alter the status of the Director LCSA was made hastily and without any detailed examination of the implications.

In April 1965 there was a radical change in the organisation when LCSA, SCDU (Services Communications Development Unit), and JSRU (Joint Speech Research Unit) were integrated into one department. Up till this time, although LCSA exercised operational control of SCDU and JSRU, they were administered by the GPO. This division of responsibility had never been a very satisfactory arrangement and, following an interdepartmental enquiry in 1964, LCSA took over full control of both units. It was also decided that a new title was needed to show that a new organisation was coming into being. In a letter to Burrows, the LCSB Chair, copied to DG MI5 and Director GCHQ, Stannard suggested "Government Communications-Electronics Security Agency", pointing out that the existing title had on occasions given the impression of a commercial concern and was unlikely to appeal to those who had worked for such a well-known department as the GPO. He did not propose that the title of the Board should be changed, since it was well-known and fitted in with that of its signal intelligence counterpart. Hollis did not like the proposed title, first because it was too close to GCHQ, and GCB, both of which were already in use, second because LCSA's responsibility extended beyond Government communications, and third because he did not think the organisation was an agency. He suggested 'Electronic Communications Security Department' (he still didn't understand the meaning of the order of the words). Hooper, Director GCHQ, commenting on both Stannard's and Hollis's letters, pointed out that communications electronics security was correct, because electronics security referred to non-communications transmissions and suggested that if it was the word 'agency' which implied a commercial status, then 'Communications Electronics Security Department', with the abbreviation CSD would be appropriate. Stannard wrote to Sir Bernard Burrows accepting this, but proposed the short title CESD. Hollis objected to 'communications security' as being too wide and doubted the responsibility for 'electronics security'. Burrows, however, agreed with Hooper's proposal as amended by Stannard, and this was accordingly submitted for acceptance by the Board.

From this point on, the influence of DG MI5 in CESD affairs waned rapidly. Like LCSA before it, CESD administration services were provided by GCHQ; its London Headquarters were in GCHQ's Palmer St building; its cryptographic services were underpinned by mathematicians from GCHQ; and the JSRU technical staff now joining CESD were members of the Royal Navy Scientific Service attached to GCHQ. It was too small to stand alone, and in 1969 it returned to GCHQ, though with a conscious and generally accepted autonomy within the organisation.

Putting its direction under MI5 was a mistake: Comsec had to be linked in policy terms to its opposite, Sigint, rather than to its complement, physical security. Comsec policy must take account of Sigint policy; whereas physical security policy has little bearing on the matter at all. This doesn't mean Comsec and physical security are not closely connected, particularly at the practical level, and it doesn't mean that the Comsec should be subordinated to Sigint, even if both are part of the same organisation: that was why there were separate oversight boards – LSIB and LCSB – for the two disciplines.

Sir Edward Bridges had been correct in identifying the cause of the weakness of British cryptography in 1941 as the lack of attention which the primarily Sigint organisation had devoted to Comsec between the wars, and was right to be suspicious that service complaints about the slow pace of development of new cryptographic equipment in the postwar period might be used to GCHQ not giving enough priority, but the solution was better informed and detailed oversight by the Sigint and Comsec Boards, not organisational change. Bridges retired in 1956, and it is not hard to imagine that Stannard's proposal that Hollis should become his boss was as much a search for somebody to protect him from Director GCHQ as for a more coherent structure for Comsec.

Wednesday, August 9, 2023

Should Sigint/IA and Humint be Together? Where?

These notes have been prompted by the news that two former BND Presidents have called for "a new technical intelligence service based on the models of NSA in the US and GCHQ in the UK" and for the intelligence services to be resubordinated from the Chancellor to the MOD.  A link to this story is here. (They also suggest that the German oversight regime is burdensome and that new legislation is needed in Germany for interception, but this is an area in which the national context makes comparison with other countries difficult.)

I don't think that there's a "right model" for the structure of intelligence services in different countries but there are some points worth considering. 

The first is that the US isn't a model for any other country: nobody else can even begin afford such a massive structure with so much overlap (redundancy? - you pay your money and you take your choice). The fact that even the US Coastguard has its own Sigint service illustrates this point.

The second is whether Sigint and Humint ought to be part of one organisation. The UK model works for the UK but is a product of the way intelligence and security were organised after the First World War (when SIS was on the Secret Vote and GC&CS on the Open Vote) rather than of any great and lasting axiom. In recent years there have been moves to streamline support functions across the agencies where it makes sense, and to have senior members of staff do tours in each other's organisations, but as an aid to understanding and to introduce new ways of thinking rather than as a prelude to some sort of merger.

So I don't think that there's any reason in principle to insist that Sigint and Humint must be part of separate agencies; but I do think that they need to be separate within their agencies below the 'very senior management' level. That's because they are fundamentally different disciplines, meeting only at the point of producing intelligence. To generalise, but not, I believe, to caricature: Humint depends on maximum security to preserve the anonymity of its sources. If the Foreign Minister of Ruritania is secretly passing information to your service, you really, really don't want the fact to be common knowledge within it, and the effort that will go into de-sourcing and sanitising the intelligence produced from what he gives your agency, and controlling its handling outside will be critical. Within the intelligence production part of a Sigint agency, on the other hand, information sharing is just as critical. The starting point for Sigint production is knowing what communications links are available to you, and whether they might carry the potential sources of the intelligence you have been tasked with producing: that's a corporate task, not the work of an individual.

And to generalise once again: Humint and Sigint need teams with different mixes of people. Sigint will do best when it has a lot of deeply analytic people who will look at very large datasets methodically and not rush to judgement; Humint officers will often be people who able to make crucial decisions on the fly, trusting that their instincts are sufficiently developed and informed to generate good decisions. Sigint decisions are made once all relevant information has been considered; Humint decisions are made once enough information has been considered. Of course each discipline needs a good mix of personality types, but there is a fundamental difference in information processing between the two.

This means that for each of Sigint and Humint to be able to flourish in one agency, they have to be largely autonomous. Neither Humint nor Sigint is 'better' than the other: in fact they aren't really comparable. At different times there might be different emphasis put on the two disciplines and resource for one might be increased at the expense of the other, but the way they work, the timescales in which they plan, they way their product is disseminated, and the relationships they have with agencies in other countries is fundamentally different.

It goes without saying, I hope, that the process of assessment of Sigint and Humint, and the production of a considered all source view should be carried out of the agency or agencies that have produced the original intelligence.

As far as subordination is concerned: I think the vast majority of national intelligence agencies are responsible to their Ministers of Defence, and all have a greater or lesser military element as part of their structure. I think this is an area in which the national context is important, but in my opinion British Sigint was fortunate that GC&CS was transferred from the Admiralty to the Foreign Office in 1921, that control of all but the tactical activity of service Sigint elements became the responsibility of GCHQ during the Second World War, and that all service Sigint became formally part of GCHQ under section 3 (3) of the Intelligence Services Act of 1994

'In this Act the expression “GCHQ” refers to the Government Communications Headquarters and to any unit or part of a unit of the armed forces of the Crown which is for the time being required by the Secretary of State to assist the Government Communications Headquarters in carrying out its functions.'

This doesn't absolve GCHQ of having to produce the intelligence required by the UK and allied military, and it adds a cost of having to embed GCHQ civilian staff with military formations to make sure that the right intelligence is being produced and disseminated to those who need it, but being outside the chain of command, deploying rank-less civilians, and controlling the development of the technical facilities it deploys give GCHQ a flexibility that it is hard to imagine if the military still "owned" Sigint. This is only an opinion, but it is an informed opinion about Sigint in the UK: I have seen how military-managed Sigint works in NATO allies, and it can work just as well; but the context in which capabilities have been developed is very different.

I haven't talked about communications security/information assurance/cyber here: I'll address that soon. Responsibility for it in the UK was changed a couple of times in the twentieth century but it eventually returned to the UK's national Sigint organisation as a conscious change.

Tuesday, May 23, 2023

Who was 'Jumbo' Travis?

I've had a couple of questions recently about 'Jumbo' Travis, Sir Edward Travis. He was Deputy Head of GC&CS from 1919-1942, then Deputy Director (Services) 1942-44, then Director GCHQ until he retired in 1952. Apart from three cryptanalysts (Alexander, Tiltman and Turing) he was the only person to have a room named after him in the Doughnut when GCHQ moved there in 2001. He was obviously a key figure, but he really isn't well known.

He passed for Paymaster in 1909 and might have had a normal Paymaster career, but found himself posted as Secretary's Clerk to Admiral Jellicoe, the  Commander in Chief on 4 August 1914. By 1916 he had been loaned to the Admiralty by Jellicoe for the compilation of cryptosystems to be used by the Fleet, Jellicoe having being astounded at Travis's breaking the codes used by the C in C himself.

When GC&CS was formed in November 1919 Travis became its number two, responsible for GC&CS's over mission, cipher security. He had a public persona as the UK's representative at international naval communications conferences, and was also responsible for acquiring the UK's first Enigma machine (now in the possession of GCHQ). He was unsuccessful as the person responsible for cipher security: although only able to advise, and not mandate, standards for security to UK ministries, his advice was dire, and he must carry a significant share of responsibility for the fact that all of UK military systems (with one exception) were being read by the Germans by June 1940. (It's interesting that the one exception, Typex, an Enigma clone made more complex than Enigma), was  designed by an RAF officer who refused to allow GC&CS any say in the design of his machine.

By 1938 Travis had been given responsibility for the Service sections of GC&CS - though I'm not aware that anybody has looked at how this came about. (Was 'C' - at that time 'Quex' Sinclair - already looking for a wartime alternative to Denniston, GC&CS's Head?) The first period of GC&CS's time at Bletchley Park is normally told in terms of Denniston's increasing  inability to manage the rapid expansion of wartime Sigint and gradually losing control, but rarely in terms of Travis's being able to be seen by everyone as the man who could make Bletchley work. 

A year after Denniston's dismissal from Bletchley Park with the diplomatic and commercial mission, Travis was able for the first time to enunciate (at least in part) a vision for Sigint in which he would create an organisation in which GC&CS/GCHQ would be in command of Sigint and the military would merely provide manpower and intelligence requirements. His mastery over the 'comitology' - bending the committee structure created to oversee Sigint to give him what he wanted - gave him complete control over Second World War Sigint in the UK. He not only achieved this, but also made himself (and GCHQ) independent of SIS, allowing 'C' to retain the title of Director-General Sigint without any control or responsibility for it. He also developed Denniston's vision of UKUSA and developed a system of Sigint sharing that neither 'C' or anybody else was able to stop (perhaps better, that neither 'C' or anybody else was able to understand).

After the war, Travis created the GCHQ which would be so successful during the Cold War. He redrew the boundary between cryptanalysis and traffic analysis and allowed Sigint to become the predominant supplier of intelligence on the Soviet bloc to defence Intelligence.

Ironically, he never understood communications security beyond the basic codebook level of the first part of the First World War, and, after having some responsibility for the dire state of British insecurity until Sir Edward Bridges began to knock heads together in 1942, was happy to see Comsec as, first of all semi-independent of GCHQ, and eventually as an agency completely (well, almost completely) independent of GCHQ.

Travis isn't well known because he falls between the stools on which the myth of Second World War British Sigint balances. He understood cryptanalysis but wasn't a cryppie. He was a manager in an organisation which thought it could do without management. He saw the big picture of 'ownership of Sigint' before anybody else, and manipulated the committee structure to enable him to 'bag' ownership for GCHQ. But mainly he had a vision for what a Sigint organisation - an intelligence organisation in which each discipline needed to produce intelligence from the interception antenna to the finished end product report - might look like, a global vision he had conceived while the people with whom he was meeting were simply fighting to place their towels on deckchairs.

Monday, March 28, 2022

The Yangtze Incident And A Do-It-Yourself One Time Pad

The story of HMS Amethyst and the Yangtze Incident used to be well known, but is less so today. Briefly, during the Chinese Civil War HMS Amethyst was sailing up the Yangtze from Shanghai to Nanking to provide support to the British Embassy to the Chinese Nationalist government which was temporarily based there. The British frigate was fired on by Chinese communist forces and severely damaged, and was forced to anchor for ten weeks, every attempt to move provoking renewed fire from the communist batteries. On the night of 30 July 1949 Amethyst made a daring and successful 100 mile dash down the Yangtze and rejoined the fleet. there is a little known cryptographic footnote to this story. 

After being attacked, HMS Amethyst had prepared to scuttle herself and had destroyed all crypto materials. From comments made by the local communist commander during protracted negotiations, it was clear that his forces were intercepting the plain language traffic between Amethyst and CinC Far Eastern Station, so how could Amethyst and the CinC plan her escape?

The Chief Naval Signal Officer Far East (Cdr C R Williams RN) came up with a plan to create a One Time Pad (OTP) which would then be used to re-encipher message sent using the Government Telegraph Code, a copy of which was held by Amethyst but which was also known to be in the possession of the communists.

The OTP was created as follows: in a first column, the surnames of all RN officers and men on board were listed in alphabetical order.

Column two listed the first name of the next of kin of each of the people in column one.

Column three listed the placename in the address of the people in column two as given by the person in column one.

Column one was now discarded.

Working down column two, letters were converted into four figure groups – so JOAN became 1015 0114. Groups were written across the page, with five four figure groups on each line. Once column two was complete, the same process was used with column three.

This pad was only used for one message. In it, Amethyst was told the times, frequencies and indicator groups of a series of dummy messages which would be addressed to CinC FES on the Fleet broadcast. Amethyst should copy these messages and use the groups transmitted to make 'In' and 'Out' pads. She was also told how to use the pads without a codebook.

During the afternoon of 30 July Amethyst sent a Flash signal: "DTG 300657Z July. Top Secret. CinC info Concord from Amethyst. I am going to try and break out two two zero zero item repeat two two zero zero item tonight three zero July Concord set watch eight two nine zero." (HMS Concord was a destroyer sent up the Yangtze to support Amethyst's escape.)

A lot of people still think that the security that OTPs offer is based on their randomness: in fact it's based on their unpredictability. In this context, the Chinese communists' knowing how the single use OTP was constructed introduced significant weaknesses. Apart from the fact than an agent in London might have been able to access the list of crew and their next of kin, column three was likely to have a disproportionate number of repeats of "Portsmouth", "Plymouth" and "London". But even if they had been able to do break and read this one message, it is likely that there would have been a time lag, and during that period they would have had to have copied and saved every single message on the Fleet Broadcast, to have been able to reconstruct the OTPs built from the dummy traffic being broadcast.

I would like to be able to say that after a carefully carried-out risk assessment an expert panel decided that the risk was worth taking, but there is no record to suggest that this was the case. It is unlikely that we'll ever know, but my guess is that this was a piece of local ingenuity, which happened to turn out well.


Saturday, March 19, 2022

Ten avoidable problems which made the Royal Navy's encryption exploitable in 1939

By the time of the outbreak of war in 1939, Nazi Germany had thoroughly penetrated Royal Navy encryption systems, and the Navy's changing its main codebook caused barely a hiccough to German Navy cryptanalysts: in fact it took until 1943 to secure RN and allied naval encryption and during this time the German Navy destroyed millions of tons of allied shipping and came close to preventing the supply of food and military supplies to the UK from North America. Just as Bletchley Park exploited poor security by the German military in their use of encryption, the German Navy's B-Dienst was able to exploit the poor security of the codes used by the Admiralty. How could this have happened? A note written years later by Captain D A "Willie" Wilson RN identifies areas where the Admiralty got it wrong. I think the issues they raise are as relevant today as they were between the wars, because although security today addresses technological challenges that our forebears couldn't have imagined, the foundations of security and the mindset of the security practitioner are fundamentally the same.

The Admiralty got things so badly wrong because there was no single coordinating body managing Comsec in the UK, and no recognisable centre or standard of Comsec expertise. GC&CS had a responsibility to provide advice on Comsec to civil ministries, and could be approached by the service ministries if they so wished. Within GC&CS, just as Comint was the responsibility of Denniston, the Head, Comsec was the responsibility of Travis, the Deputy Head. However, Travis was also responsible for: collection management, for the reporting, indexing, and distribution of intelligence reports, for the GC&CS Registry, for liaison with SIS, and, from 1938, for liaison with the service ministries. All of this was in addition to his responsibility (to 'C', interestingly: not the Head of GC&CS) for the British Codes Section.

The fundamental problem was that nobody questioned the principle that good cryptanalysts would make good communications security advisors, when in fact their advice would be limited by the extent of their cryptanalytic skills. In a non-mechanical environment, this meant cryptanalysts saying "this is the sort of code I can't break", and assuming a) that that meant that nobody else would be able to, granting that code an invulnerability; and b) given that cryptanalysts didn't do traffic analysis, that crypt security was the only security that mattered: that wireless security (secure traffic management) wasn't something that needed to be considered.

1. Don't split responsibilities among different people.

The Director of Naval Intelligence (DNI) was responsible for technical and physical security, but was dependent on technical cypher matters on the advice given by GC&CS. The Director of the Signal Department (DSD) was responsible for providing the means of communication, and for providing the Coding Staff, but he had no responsibility for wireless security, (ie for denying the enemy intelligence from traffic analysis). The Paymaster Director General (PDG) had responsibility for the provision and training of cypher staff, but had no responsibility for the cyphers used.  In the Fleet the Secretary to a Flag Officer was the Squadron or Fleet Cypher Officer, responsibly for seeing the proper use of cyphers afloat. Within the Admiralty M Branch of the Secretariat was responsible for the distribution of Cyphers and Codes through the Navy, and the Secretariat provided the Admiralty cypher office, known as "War Registry".

2. Choose your advisers carefully

GC&CS was required to advise (but not mandate) security to the services between the wars. In fact Travis advised the Admiralty, Tiltman advised the War Office, and Josh Cooper advised the Air Ministry, but they didn't talk to each other about security, and didn't consult any of the rest of the cryptanalytic staff in GC&CS. Their advice was, therefore, strictly limited. Cipher security was the subject of a lecture on the Accountant Officers Technical Course (a prerequisite for a Secretary to a Flag Officer) but by the beginning of the 1930s this was a lecture about cryptanalysis given by Bodsworth and Knox, and was unlikely to have been illuminating. The Long Signal Course for officers specialising in communications had no lectures at all on communications security.

3. Know when to ask for a second opinion

The key piece of advice that the Admiralty needed was about the security of the 'Long Subtractor', the key used to encipher messages once encoded. In effect, this was a one time pad which was reused. How many times could it be reused without compromising security? Theoretically, it should never be reused, but in practice, could it be? Wilson wasn't happy with the response: once gave absolute security, twice was almost guaranteed, three times wasn't really dangerous, but more than three was, and using the same piece of key five or six times was positively dangerous. This was very bad advice, and Wilson knew it, but there was no move to change advisor (nor any obvious other advisor to turn to).

4. Security doesn't come second to intelligence

The Admiralty had two billets in GC&CS for officers: the idea was that this would be a source of officers with practical experience in security. But everyone in GC&CS knew that the department's main job – its important job – was intelligence production, and the officers posted in became, for the most part, cryptanalysts. Intelligence breakthroughs are of tremendous value: if your security is no good, it will be your adversary who makes the intelligence breakthrough by exploiting your communications.

5. Don't do the enemy's job for him

The RN used three different basic codebooks: Tactical Code (3 letter groups, not reencrypted); Administrative Code (five figure groups, reencrypted with a Long Subtractor); Naval Cypher (used for operational traffic: four figure groups, reencrypted with a  Long Subtractor). This meant that anybody intercepting a naval message immediately knew, without decryption, what sort of message had been sent. And although different Long Subtractor tables were used for different regions and commands, the indicator – the explanation of the start point in the relevant table – wasn't disguised at all. The German Navy's cryptanalysts had it easy.

6. Don't assume before you understand

In order to gauge how many of each reciphering table to print and distribute (a job that would always be complex given the Navy's worldwide extent) the Admiralty had to make assumptions. It assumed that the proportion of administrative to operational traffic in wartime would be around 80:20 – they were wrong: it was the other way round. If the Royal Navy officers in GC&CS had been doing the job for which they had been posted in, they would have seen this by looking at traffic levels in Italian Naval material collected for GC&CS during the Abyssinian Crisis and the Spanish Civil War.

7. Even if it ain't broke it might still be worth fixing

According to Wilson, by 1937 when Typex, the UK version of Enigma, came into service, Lord Mountbatten was pressing for it to be used by the Royal Navy but got nowhere because of the lack of a single person able to resolve to bring a new encryption system into use. Lord Mountbatten concluded that it was just too difficult, but even putting Typex on a few ships in the North Atlantic could have made a tremendous difference. I asked the Duke of Edinburgh about this in 2013 and he confirmed it. (That is probably the most outrageous name drop you'll see today.)

8. Who needs what?

As a matter of routine, Commands, shore establishment and major ships were given copies of all reciphering tables, so that anybody could communicate securely with anybody else. But why (for example) would CinC Nore need to communicate securely and directly with the Senior Naval Officer Upper Yangtze? Why couldn't the few (I imagine) messages between most territorial commands not be relayed through the Admiralty. Apart from the difficulty of printing and distributing so much key material, it meant that if a ship was believed to have potentially been captured by enemy forces, all key material on board had to be assumed to be compromised.

9. Understand the vulnerability of your mode of communication as well as of your crypto

After Wilson had been Head of a new section NID10/DSD10 in the Admiralty early in the war, he set up a new section to look at the way the Navy communicated to see whether the Germans might be able to derive intelligence from analysis of the traffic. This had never been done before.

10. Security versus Operability

Security and operability don't always have to be in competition: designers of systems need to understand how users communicate to design practicality alongside security; system administrators need to ensure that the reasons for the rules they impose are understood; and users mustn't try to subvert the rules and compromise security simply to make life easier. In order to make Royal Navy comms practice secure against German traffic analysis, DSD10/NID10 introduced a series of security measures without explaining them to the signalmen who had to implement them. As a result, they were widely ignored and subverted. When this was discovered the signalmen asked for a senior officer to investigate the matter. Admiral Somerville (who had been in charge of wireless comms for the Mediterranean Fleet during the First World War) was asked to do this and he came down firmly on the side of security, but was able to explain why to the signalmen, from whom there was no further opposition to the new measures.

Wednesday, March 9, 2022

Sir Edward Bridges and the Development of UK Communications Security

I think I'm a bit closer to an explanation of something that has exercised me for a few years: why did Sir Edward Bridges, first as Cabinet Secretary and then as Permanent Undersecretary (PUS) at the Treasury, take such an interest in Communications Security (Comsec), from 1941 until his retirement in 1956? He made sure that in January 1944 the creation of a Cypher Policy Board independent of the JIC was approved by the Chiefs of Staff and the War Cabinet. This meant a better defined Comsec organisation in GC&CS with the authority to mandate security standards across the whole of UK Government. In 1954 he drove through the institutional separation of the LCSA (what would eventually be called CESD, then CESG, then turn into the NCSC) from GCHQ, a separation that lasted until 1969.

His first experience of encryption probably came in March 1929, when, as a Treasury civil servant, he became a member of the Inter-Departmental Committee on Cypher Machines, on which he sat alongside Edward Travis, Deputy Head of GC&CS and its lead for Comsec. The committee's report seems to have been ignored: it recommended the "O'Brien-Gardiner machine" no working model of which was available. Enigma was turned down on the grounds that it was of foreign manufacture.

Eventually, Wing Commander Lywood RAF improved the on the design of Enigma and came up with Typex which was first used operationally in 1937. GC&CS was kept away from the development of Typex by either Lywood, or the RAF, or both: they didn't believe that the advice being provided by GC&CS on security was adequate: he (or the RAF, or both) was right. By the time of Dunkirk in 1940, Typex was the only British military encryption system the Germans couldn't read. (I will write more about this catastrophic failure another time.)

In October 1941 four cryptanalysts from Bletchley Park wrote to the Prime Minister complaining of delays in supplying the manpower needed for GC&CS's mission. Churchill's response was immediate: his famous 'Action This Day' minute in which General Ismay was instructed to "Make sure they have all they want on extreme priority and report to me that this has been done". In fact it looks likely that while Ismay worked with 'C' on the manpower required for Bletchley Park, Bridges interested himself in the security mission, at the time mainly farmed out to Mansfield College Oxford, with a small nucleus at Bletchley. (Certainly, some months later, when GC&CS approached the Treasury to increase its establishment across the board, its letter said "if you need more evidence I can only refer you to Bridges or Ismay" (letter quoted by Nigel de Grey in HW 43/76).)

Bridges understood that the primary reason for the failure of British Comsec was due to a systemic issue: GC&CS's charter did not allow it to mandate security standards for the armed forces, only to provide advice. A separate issue, but which contributed to the overall failure, was that the quality of the advice was poor, and, anyway, wasn't always accepted. Bridges spent fifteen years godfathering a new structure for UK Comsec, which resolved both of these issues.

The Admiralty had sponsored an "Inter-Service Committee on the Security of Codes and Cyphers" early in 1941, and Travis and Tiltman represented GCHQ at its first and only meeting. It set up a "Technical Sub-Committee" chaired by Travis with three members: from the Admiralty and Air Ministry, and Tiltman, for GC&CS and the War Office. It met regularly (23 meetings between February and October 1941) and it changed its title to Cypher Security Committee. The parent body was replaced by a new "Inter-Services Cypher and W/T Security Committee" and it adopted the Cypher Security Committee, widening its membership beyond GC&CS and the three services to include Civil Departments (Foreign Office, Colonial Office, India Office, Dominions Office, Ministry of War Transport, Ministry of Food, Ministry of Supply, Postal and Telegraphic Censorship, Ministry of Aircraft Production and Ministry of Information) though these only attended by invitation when matters relevant to them were to be discussed.

This Committee was still advisory (though I don't think that its conclusions and recommendations were ignored or rejected by anybody), and had no forward planning responsibilities, but Bridges was still keen to see a more formal arrangement. He persuaded the original committee members to come up with a paper outlining the problems faced by the committee and after detailed discussion in November and December 1943 a paper was agreed by the Chiefs of Staff in January 1944 and adopted by the War Cabinet. Its main conclusions were:

1.            A new body called the Cypher Policy Board was created under the authority of the Prime Minister and the War Cabinet. Its membership was: 'C' (Chair) as Director-General GC&CS; the Cabinet Secretary (Bridges); Director General Signals Air Ministry (representing the Chiefs of Staff); Director GC&CS (Travis); Secretary (Communications Security Advisor GC&CS). It was responsible for: (a) deciding questions of policy governing the security of British cyphers, including decisions about new cyphering devices proposed and safeguards necessary for their use; (b) ensuring that the use of cyphers by the Services and by Government Departments was properly supervised; (c) advising on the security of cyphers used by Allies where appropriate.

2.            A new section of GC&CS was established to deal with the security of British cyphers and of Allied cyphers (insofar as British commands were concerned). This section was headed by a GC&CS Assistant Director with the title Communications Security Advisor (CSA) (Captain Wilson RN).

3.            The Cypher Security Committee became responsible to the Cypher Policy Board, and the Secretary of the Cypher Policy Board became its chair.

Bridges became PUS at the Treasury but took his membership of the Board with him. Even if communications could only command a small amount of his attention as PUS and Head of the Home Civil Service, he would nevertheless make time for it.

Some years later in 1952 the Admiralty complained about problems caused by the way in which the Cypher Policy Board had developed a committee structure. The matter was taken up at Board level and the Admiralty said that it felt that many of the tasks being performed by the Board might be better carried out by the Sigint Board. Bridges answered that the Cypher Policy Board had been set up in 1944 to see that the right cryptographic policy was devised, both from the standpoints of security and practicability and to ensure that this policy was carried out. He believed that it would be quite inappropriate for these responsibilities to be handled by the Sigint authorities. An officer from the Signals Division of the Admiralty carried out an investigation in conjunction with a Treasury civil servant nominated by Bridges.

The investigation looked at the structures of the Board but, surprisingly, also recommended the creation of a new agency, the Telecommunications Security Agency, which would subsume the Comsec responsibilities of GCHQ for planning and policy for new cryptosystems and speech security devices, and for their design and engineering development. It would also take on the responsibilities for Comsec which were still in control of the services. GCHQ and the service ministries were persuadable: the military complained that existing structures usually saw GCHQ representatives asking for solutions which gave 100% security but were practically unusable; to which GCHQ countered that no new off-line system had been developed since the war because of the military's insistence on continually changing the specifications for new machines. Bridges persuaded them not only of the need for a single body but also that both GCHQ and the services would accept that the new Agency's Director would sit above them and act as arbiter.

In the event, LCSA – the London Communications Security Agency – was set up in 1954. It shared the central London office block on Palmer Street which GCHQ had acquired in 1953 for a 'front office' and maintained the bulk of its staff at Eastcote when the rest of GCHQ went to Cheltenham. The divorce was never final: LCSA (soon renamed CESD) was too small to be an independent agency, and GCHQ continued to provide administrative and estate services; the mathematicians needed by both organisations continued to form a common pool; and particularly after the retirement of Bridges, CESD had no real voice in Whitehall or ability to face the services down where necessary other beyond GCHQ's ability to speak on its behalf.

Trying to work out why Bridges had interested himself to such an extent is difficult. When the NCSC was being set up, and I had been through this tale with Ciaran Martin, its first Head, he asked Lord Bridges if there were any papers held by the family, or any family folk memory on this subject: there weren't.

I think that Bridges, having decided to look out for Comsec while General Ismay did the same for Comint after the 'Action This Day' minute from Churchill in 1941, realised that the subject needed higher price help than it was likely to get if he didn't look after it himself. His view (in modern language) was that Comint professionals are the wrong people to make Comsec policy, even though the input from Comint is the primary tool at the disposal of Comsec professionals. It is clear that he believed that if Comsec and Comint were housed in a single organisation, Comsec would necessarily suffer if its autonomy could not be maintained, and so arranged for it to separate from GCHQ as completely as possible.

Separation from GCHQ simply didn't work, so CESD came back to Cheltenham as CESG: but its autonomy was part of the deal, even if the degree of autonomy was a moveable feast. The NCSC model – "part of GCHQ" but headquartered outside Cheltenham – was a response to the radically different requirements cybersecurity demanded of both Comint and Comsec, but has finally achieved Bridges' vision.