Skip to content

Commit b1d1e80

Browse files
committed
Updated gem bundler and outdated dependencies.
Created iOS CAC enabled post.
1 parent 3356630 commit b1d1e80

6 files changed

Lines changed: 88 additions & 68 deletions

File tree

Gemfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
source 'https://rubygems.org'
22

3-
require 'json'
4-
require 'open-uri'
5-
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
6-
7-
gem 'github-pages', versions['github-pages']
8-
gem 'kramdown'
9-
gem 'jekyll-paginate'
10-
gem 'jekyll-gist'
11-
3+
gem 'github-pages', '~> 228'

Gemfile.lock

Lines changed: 48 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (6.0.4.7)
4+
activesupport (7.0.6)
55
concurrent-ruby (~> 1.0, >= 1.0.2)
6-
i18n (>= 0.7, < 2)
7-
minitest (~> 5.1)
8-
tzinfo (~> 1.1)
9-
zeitwerk (~> 2.2, >= 2.2.2)
10-
addressable (2.8.0)
11-
public_suffix (>= 2.0.2, < 5.0)
6+
i18n (>= 1.6, < 2)
7+
minitest (>= 5.1)
8+
tzinfo (~> 2.0)
9+
addressable (2.8.4)
10+
public_suffix (>= 2.0.2, < 6.0)
1211
coffee-script (2.4.1)
1312
coffee-script-source
1413
execjs
1514
coffee-script-source (1.11.1)
1615
colorator (1.1.0)
17-
commonmarker (0.23.4)
18-
concurrent-ruby (1.1.10)
19-
dnsruby (1.61.9)
20-
simpleidn (~> 0.1)
16+
commonmarker (0.23.9)
17+
concurrent-ruby (1.2.2)
18+
dnsruby (1.70.0)
19+
simpleidn (~> 0.2.1)
2120
em-websocket (0.5.3)
2221
eventmachine (>= 0.12.9)
2322
http_parser.rb (~> 0)
24-
ethon (0.15.0)
23+
ethon (0.16.0)
2524
ffi (>= 1.15.0)
2625
eventmachine (1.2.7)
2726
execjs (2.8.1)
28-
faraday (1.0.1)
29-
multipart-post (>= 1.2, < 3)
27+
faraday (2.7.10)
28+
faraday-net_http (>= 2.0, < 3.1)
29+
ruby2_keywords (>= 0.0.4)
30+
faraday-net_http (3.0.2)
3031
ffi (1.15.5)
3132
forwardable-extended (2.6.0)
3233
gemoji (3.0.1)
33-
github-pages (225)
34+
github-pages (228)
3435
github-pages-health-check (= 1.17.9)
35-
jekyll (= 3.9.0)
36+
jekyll (= 3.9.3)
3637
jekyll-avatar (= 0.7.0)
3738
jekyll-coffeescript (= 1.1.1)
38-
jekyll-commonmark-ghpages (= 0.2.0)
39+
jekyll-commonmark-ghpages (= 0.4.0)
3940
jekyll-default-layout (= 0.1.4)
4041
jekyll-feed (= 0.15.1)
4142
jekyll-gist (= 1.5.0)
@@ -67,12 +68,12 @@ GEM
6768
jekyll-theme-time-machine (= 0.2.0)
6869
jekyll-titles-from-headings (= 0.5.3)
6970
jemoji (= 0.12.0)
70-
kramdown (= 2.3.1)
71+
kramdown (= 2.3.2)
7172
kramdown-parser-gfm (= 1.1.0)
72-
liquid (= 4.0.3)
73+
liquid (= 4.0.4)
7374
mercenary (~> 0.3)
7475
minima (= 2.5.1)
75-
nokogiri (>= 1.12.5, < 2.0)
76+
nokogiri (>= 1.13.6, < 2.0)
7677
rouge (= 3.26.0)
7778
terminal-table (~> 1.4)
7879
github-pages-health-check (1.17.9)
@@ -81,17 +82,17 @@ GEM
8182
octokit (~> 4.0)
8283
public_suffix (>= 3.0, < 5.0)
8384
typhoeus (~> 1.3)
84-
html-pipeline (2.14.1)
85+
html-pipeline (2.14.3)
8586
activesupport (>= 2)
8687
nokogiri (>= 1.4)
8788
http_parser.rb (0.8.0)
88-
i18n (0.9.5)
89+
i18n (1.14.1)
8990
concurrent-ruby (~> 1.0)
90-
jekyll (3.9.0)
91+
jekyll (3.9.3)
9192
addressable (~> 2.4)
9293
colorator (~> 1.0)
9394
em-websocket (~> 0.5)
94-
i18n (~> 0.7)
95+
i18n (>= 0.7, < 2)
9596
jekyll-sass-converter (~> 1.0)
9697
jekyll-watch (~> 2.0)
9798
kramdown (>= 1.17, < 3)
@@ -107,11 +108,11 @@ GEM
107108
coffee-script-source (~> 1.11.1)
108109
jekyll-commonmark (1.4.0)
109110
commonmarker (~> 0.22)
110-
jekyll-commonmark-ghpages (0.2.0)
111-
commonmarker (~> 0.23.4)
111+
jekyll-commonmark-ghpages (0.4.0)
112+
commonmarker (~> 0.23.7)
112113
jekyll (~> 3.9.0)
113114
jekyll-commonmark (~> 1.4.0)
114-
rouge (>= 2.0, < 4.0)
115+
rouge (>= 2.0, < 5.0)
115116
jekyll-default-layout (0.1.4)
116117
jekyll (~> 3.0)
117118
jekyll-feed (0.15.1)
@@ -195,70 +196,63 @@ GEM
195196
gemoji (~> 3.0)
196197
html-pipeline (~> 2.2)
197198
jekyll (>= 3.0, < 5.0)
198-
kramdown (2.3.1)
199+
kramdown (2.3.2)
199200
rexml
200201
kramdown-parser-gfm (1.1.0)
201202
kramdown (~> 2.0)
202-
liquid (4.0.3)
203-
listen (3.7.1)
203+
liquid (4.0.4)
204+
listen (3.8.0)
204205
rb-fsevent (~> 0.10, >= 0.10.3)
205206
rb-inotify (~> 0.9, >= 0.9.10)
206207
mercenary (0.3.6)
207-
mini_portile2 (2.8.0)
208208
minima (2.5.1)
209209
jekyll (>= 3.5, < 5.0)
210210
jekyll-feed (~> 0.9)
211211
jekyll-seo-tag (~> 2.1)
212-
minitest (5.15.0)
213-
multipart-post (2.1.1)
214-
nokogiri (1.13.4)
215-
mini_portile2 (~> 2.8.0)
212+
minitest (5.18.1)
213+
nokogiri (1.15.3-arm64-darwin)
216214
racc (~> 1.4)
217-
octokit (4.18.0)
218-
faraday (>= 0.9)
219-
sawyer (~> 0.8.0, >= 0.5.3)
215+
octokit (4.25.1)
216+
faraday (>= 1, < 3)
217+
sawyer (~> 0.9)
220218
pathutil (0.16.2)
221219
forwardable-extended (~> 2.6)
222-
public_suffix (4.0.6)
223-
racc (1.6.0)
224-
rb-fsevent (0.11.1)
220+
public_suffix (4.0.7)
221+
racc (1.7.1)
222+
rb-fsevent (0.11.2)
225223
rb-inotify (0.10.1)
226224
ffi (~> 1.0)
227225
rexml (3.2.5)
228226
rouge (3.26.0)
227+
ruby2_keywords (0.0.5)
229228
rubyzip (2.3.2)
230229
safe_yaml (1.0.5)
231230
sass (3.7.4)
232231
sass-listen (~> 4.0.0)
233232
sass-listen (4.0.0)
234233
rb-fsevent (~> 0.9, >= 0.9.4)
235234
rb-inotify (~> 0.9, >= 0.9.7)
236-
sawyer (0.8.2)
235+
sawyer (0.9.2)
237236
addressable (>= 2.3.5)
238-
faraday (> 0.8, < 2.0)
237+
faraday (>= 0.17.3, < 3)
239238
simpleidn (0.2.1)
240239
unf (~> 0.1.4)
241240
terminal-table (1.8.0)
242241
unicode-display_width (~> 1.1, >= 1.1.1)
243-
thread_safe (0.3.6)
244242
typhoeus (1.4.0)
245243
ethon (>= 0.9.0)
246-
tzinfo (1.2.9)
247-
thread_safe (~> 0.1)
244+
tzinfo (2.0.6)
245+
concurrent-ruby (~> 1.0)
248246
unf (0.1.4)
249247
unf_ext
250-
unf_ext (0.0.8.1)
248+
unf_ext (0.0.8.2)
251249
unicode-display_width (1.8.0)
252-
zeitwerk (2.5.4)
253250

254251
PLATFORMS
255-
ruby
252+
arm64-darwin-22
256253

257254
DEPENDENCIES
258-
github-pages (= 225)
259-
jekyll-gist
260-
jekyll-paginate
261-
kramdown
255+
github-pages (~> 228)
262256

263257
BUNDLED WITH
264-
2.1.4
258+
2.4.16

_config.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
gems: [jekyll-paginate, jekyll-gist]
1+
plugins: [jekyll-paginate, jekyll-gist]
22
# Dependencies
33
markdown: kramdown
44
kramdown:
@@ -34,10 +34,6 @@ sass:
3434
sass_dir: _sass
3535
style: :compressed
3636

37-
# Theme
38-
theme:
39-
str_continue_reading: "Continue reading..."
40-
4137
# Custom vars
4238
version: 1.0.0
4339
twitter_username: g0rak
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
layout: post
3+
title: "Access CAC enabled websites on iOS"
4+
author: "Kyle Gorak"
5+
date: "2023/07/09"
6+
output:
7+
html_document:
8+
keep_md: true
9+
comments: True
10+
tags: [Army, iOS]
11+
---
12+
13+
iOS 16 natively supports smart card readers and your Common Access Card (CAC) through the CryptoTokenKit extension.
14+
Previously, [militarycac.com](https://militarycac.org/mobile.htm) recommended utilizing expensive software and hardware
15+
from third party sites to use CAC-enabled websites on your iOS device. Now all you need is an adapter
16+
([1](https://www.apple.com/shop/product/MD821AM/A/lightning-to-usb-camera-adapter),
17+
[2](https://www.apple.com/shop/product/MK0W2AM/A/lightning-to-usb-3-camera-adapter))
18+
to access websites such as [webmail](https://webmail.apps.mil/mail/), [HRC](https://webmail.apps.mil/mail/),
19+
[DTS](https://www.defensetravel.osd.mil/), etc. You will need to download the
20+
[Certificate Authority certificates](https://public.cyber.mil/announcement/new-dod-pki-cas-released/) onto your
21+
iOS device and open the `dod_pke_chain.pem` file within the zip file. You will install them on your iPhone by clicking
22+
it, then navigating to your `Settings->Profile Downloaded->Install`. Recommend you always verify the certificates are
23+
authentic by following the instructions in the README included in the zip file.
24+
25+
Once installed, plugin your adapter, smart card reader, and CAC and navigate to the webpage of your choice. You
26+
will be prompted to select your certificate and enter your pin.
27+
28+
![Cac Enabled Sites on an iPhone!]({{ site.url }}/assets/images/cac-enabled-sites.png){: .center-image}
29+
30+
I tested this with an iPhone 12 with the
31+
[USB-3 camera adapter](https://www.apple.com/shop/product/MK0W2AM/A/lightning-to-usb-3-camera-adapter).
32+
However, this should work with any adapter or USB-C smart card reader directly to a USB-C iPad.
33+
I did run into some issues with using my exact model of smart card reader where the power provided
34+
by the adapter was insufficient, but this was solved by plugging in a charger to the lightning port on
35+
the adapter.
36+
37+
![Smart Card Reader Power]({{ site.url }}/assets/images/usb-3-camera-cac.png){: .center-image}
38+
1.46 MB
Loading

assets/images/usb-3-camera-cac.png

1.03 MB
Loading

0 commit comments

Comments
 (0)